jquery - Cursor of <p:inputMask> is set to last index when focused -
i observed <p:inputmask>
in primefaces 5.1 has strange behavior when focused:
- click on first character in non-empty, unfocused inputmask element
- cursor jumps last index (= set after last character)
- click again on first character in same inputmask element
- cursor jumps desired index (= set before first character)
why <p:inputmask>
behaving strange in step 2, though clicking on first character (and seems work once element focused)? known bug? there (preferably not jquery-related) clean workarounds?
Comments
Post a Comment