Cursor jumps to the end of the line in iOS browsers
What's the issue?
When user moves the cursor to the middle to insert some letters, the cursor will automatically jump to the end of the line after one letter has been inserted.
How do we reproduce the issue?
- Visit link with iOS device(Chrome or Safari)
- Click on the search bar
- Input some key words like dress women
- Click on the middle of the letters
- Try to add more letters

What browsers are affected?
iOS 12.1.2 Both Safari and Chrome v73.0.3683.68 Both Native iOS input method and 3p input method in case you need to have a look :)
Ps: Cannot be reproduced with macbook(Safari&Chrome) or android device(Chrome)
Which AMP version is affected?
1903262220080
This issue may be related to input-throttled. I tried the official demo without any input-throttled events. It cannot be reproduced. Hope this info helps.
@cvializ
This is a known issue that we are looking at. It is a result the value produced by input-throttled getting bound to the value of the input by amp-bind. Because of a race condition, the value is updated by bind with a value that is older than what the user typed in and the cursor position is not preserved. Are you able to replace input-throttled with input-debounced? Or remove the [value] binding on the input?
Thank you @cvializ for your reply.
This can still be reproduced with input-debounced.
And because when another button is clicked, the content in the input need to be updated, so [value] is necessary.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.