Last active
September 18, 2018 03:44
-
-
Save filipelinhares/495aefb5d34ef80fa02ba3c50c37df13 to your computer and use it in GitHub Desktop.
Fix input mask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var defer = typeof requestAnimationFrame !== 'undefined' ? requestAnimationFrame : setTimeout | |
defer( function () { element[0].setSelectionRange(element[0].selectionStart + 1, element[0].selectionStart + 1, 'none') }, 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment