-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding Mobile Compatibility #36
Comments
I have same issue input tool not working in mobile. I HAVE ALSO TRIED KEYDOWN AND INPUT EVENT IN BUNDLE JS FILE. Please help me to fix this issue as soon as possible. |
I have been successful in doing the same on mobile devices by making a dynamic selection of the event based on the user agent. Use a boolean to check whether the device is mobile or not.
Select the event according to
Manage both mobile and web independently
Note: In the case of mobile implementation you have to manage edge cases and tweak the styles as per the context |
Thank you so much. Your answer working perfect. Just has syntax error in 6th last line. |
Instead of
keypress
eventinput
event seems to work for mobile devices. By checking the user-agent, we can dynamically select which event to be fired ( ieinput
for mobile andkeypress
for desktop). @KSubedi What are your thoughts?The text was updated successfully, but these errors were encountered: