You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't move caret to leftmost position in text input with arrow keys #22344
./mach run -d 'data:text/html,<input value="hi">'
Try to use the arrow keys to position the caret in front of the h. I would expect the error to exist in the code that deals with a single horizontal adjustment.
Did some experimentation, what's happening is that additional unicode characters (\uf702 and \uf703) are being inserted into the current line whenever a key is pressed. This is a clone of #22345 and rust-windowing/winit#778.
Activity
highfive commentedon Dec 1, 2018
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the
#servochannel in IRC.If you intend to work on this issue, then add
@highfive: assign meto your comment, and I'll assign this to you. 😄vn-ki commentedon Dec 1, 2018
@highfive: assign me
highfive commentedon Dec 1, 2018
Hey @vn-ki! Thanks for your interest in working on this issue. It's now assigned to you!
vimpunk commentedon Dec 20, 2018
I can position the caret in front of the
hwith the arrow keys. Has this been fixed?jdm commentedon Dec 20, 2018
I can still reproduce this on macOS.
vimpunk commentedon Dec 20, 2018
Ah ok, I'm on Linux.
flofriday commentedon Mar 10, 2019
Also on macOS, I can only move the cursor one position back.
I tested it with this command
./mach run -d 'data:text/html,<input value="hello">'.jackxbritton commentedon Apr 10, 2019
Hey, I can reproduce this. Can I get assigned?
jackxbritton commentedon Apr 10, 2019
Did some experimentation, what's happening is that additional unicode characters (
\uf702and\uf703) are being inserted into the current line whenever a key is pressed. This is a clone of #22345 and rust-windowing/winit#778.jdm commentedon Apr 10, 2019
Thanks for verifying that!
lumiscosity commentedon Jul 26, 2025
winit has been bumped and the issue is fixed. Tested on Arch Linux x86_64, Servo built against commit 9d29017, profiling build.
Screencast.From.2025-07-26.15-43-53.mp4