Inputmask: Cursor jumps to end using separator on Android 6.0.1

Created on 19 May 2017  路  2Comments  路  Source: RobinHerbots/Inputmask

Issue
Cursor skips to end on Android when typing a number after a separator.
This is not expected.

Example
Using mask 99-99-9999, value: 12-21-1111
Try to replace 2's by 3's.

Value: 13|-1-111
When cursor is just before the first -, and you type a number, the cursor moves to the end.
Result: 13-31-1111|

Details
Doesn't happen on iOS and Desktop.
Android 6.0.1, jquery 1.10, Inputmask: 3.x
JSFiddle

Android Life example included => priority

Most helpful comment

@BMarinos ,

This is fixed in the 4.x branch. Maybe you can have a test. These changes will be merged back into the 3.x version.

All 2 comments

@BMarinos ,

This is fixed in the 4.x branch. Maybe you can have a test. These changes will be merged back into the 3.x version.

Issue is resolved in 4.x. Many thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kolyabokov picture kolyabokov  路  5Comments

subarachnid picture subarachnid  路  3Comments

TiGR picture TiGR  路  3Comments

SujayKrishna picture SujayKrishna  路  7Comments

drolsen picture drolsen  路  3Comments