Cursor position or selection after focus via tab on iOS
When using the Tab key on a desktop browser to focus a filled currency field, the entire content is selected, allowing the user to immediately overwrite it by typing.
On iOS, the behavior differs: the content is not selected. Instead, the cursor is placed at the end of the value (after the suffix). This makes it difficult to replace the value directly, as the user must first reposition the cursor (e.g., before the decimal separator) or delete part of the existing content.
Is it possible to achieve the same select-all-on-focus behavior on iOS as on desktop browsers (without triggering the text selection callout such as cut/copy/paste)? Alternatively, is there a way to place the cursor before the decimal separator on focus?
- You can just use the project's demo page https://robinherbots.github.io/Inputmask/#/demo
- OS: iOS 26.2
- Browser: Safari
- Inputmask version: 5.0.9
Source: RobinHerbots/Inputmask