Android issue with cursor not moving fix#320
Conversation
|
example of someone with the same issue: https://github.com/digitalBush/jquery.maskedinput/issues/280 |
src/jquery.maskedinput.js
Outdated
There was a problem hiding this comment.
Please remove the log statement.
|
Using the Samsung keyboard, this helps out in Chrome on my S4. Still seeing some issues on the stock browser. Thank yo for the work here. We can merge it once the logging is removed. 👍 |
Removed log
|
@digitalBush log removed |
Android issue with cursor not moving fix
|
Look at the files changed. It's not in there... I think you're looking at an old version there? |
|
hi! can you help me? |
|
|
||
| input.caret(pos.begin,pos.begin); | ||
| } | ||
| function androidInputEvent(e) { |
There was a problem hiding this comment.
4 space indents please, not tabs. Never tabs.
|
still NOT WORKING for android - v. 5.1 (sony zt) |
|
Using an Android tablet with Lollipop 5.1.1. Here it works in Chrome 49, but not in an Android WebView. |
|
I had trouble with the use of the maxlength attribute. Removed that and masks worked for me Android. |
|
Github newb here. How do I get this latest version from June 18? It appears it is not the version on the main github page. But it says "merged" up at the top, so I am very confused. |
|
@dmikester1 You either have to wait for a new release to be made or you pull from master. If you are using bower then take a read of http://stackoverflow.com/questions/16949173/how-to-install-latest-untagged-state-of-a-repo-using-bower |
## Problem We're using [a library to mask the date of birth input][gh]. The latest release, 1.4.1, contains a bug on Android that causes the input to display backwards. Officers have found that this bug renders the date of birth search unusable. [gh]: https://github.com/digitalBush/jquery.maskedinput, ## Solution The bug [has been fixed][fix] but the fix has not been released. To get around this, we're including the fix manually in the file `vendor/assets/javascripts/jquery.maskedinput.js`. Once the fix is included in a new release (likely in version 1.4.2), then we'll be able to load the asset through this Gemfile once again. [fix]: digitalBush/jquery.maskedinput#320

There was an issue where, when typing, the cursor would not move on android. This caused input to be typed backwards. This could be solved if predictive touch was disabled but this was not a good solution. I saw that many people were had the same issue so I decided to fix it. Cheers!