Search field doesn't work on mobile device (works only on desktop)
Hello,
Something strange ...
With Laravel / VueJS ... I have a search field, when I type something inside it, it calls an API to filter the content and display the result in a table.
The filter works fine on a desktop, but doesn't work if I open the browser from my smartphone.
I get no error in the console and no error in the logs.
I have binded a variable from a pinia store to the search input field and in the component with the table I watch to this variable to filter the table.
What could prevent the filter from working only on a mobile device ?
@jlrdw My wife just tested on her tablet and it works only if she clicks on Enter.
Then I checked myself and the filter works fine if I click outside the input field (on blur).
UPDATED => another test I did just now : as long as the virtual keyboard is open, the variable is not updated with the search string, when I close the virtual keyboard, the filter works fine.
So my question is : how is it possible to force updating the binded variable while the virtual keyboard is open and without blur the input field ?