Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(InputMask): Paste at Cursor Selection (#5286)
* fix(InputMask): Paste at Cursor Selection The input mask component currently pastes contents at the first empty value position instead of the cursor selection. Providing an undefined position to the caret function *mostly* fixes this issue because after the paste happens, the cursor is returned to the last empty value position instead of at the end of the newly pasted value. * Update duplicate code * Remove whitespace * Update InputMask.js * Update InputMask.js --------- Co-authored-by: Melloware <[email protected]>
- Loading branch information