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:

  1. click on first character in non-empty, unfocused inputmask element
  2. cursor jumps last index (= set after last character)
  3. click again on first character in same inputmask element
  4. 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

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -