This repository was archived by the owner on Sep 2, 2024. It is now read-only.
This repository was archived by the owner on Sep 2, 2024. It is now read-only.
editing in the middle of the text moves cursor to end (in Safari) #17
Closed
Description
Describe the bug
When the cursor is in the middle of the text, and you type, the cursor jumps to the end. This is likely because of setting the value without changing the "selection"
To Reproduce
Steps to reproduce the behavior:
- type part of a date
- move your cursor to somewhere inside the text
- type something
- see cursor jump to the end
Expected behavior
cursor stays where you enter text
Screenshots
Desktop (please complete the following information):
- OS: macOS 10.14
- Browser: Safari Tech Preview
- Version: Release 113 (Safari 14.0.1, WebKit 15610.2.3.1)
Additional context
I've seen this problem before, in e.g.: