Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't move caret to leftmost position in text input with arrow keys #22344

Open
jdm opened this issue Dec 1, 2018 · 10 comments
Open

Can't move caret to leftmost position in text input with arrow keys #22344

jdm opened this issue Dec 1, 2018 · 10 comments
Labels

Comments

@jdm
Copy link
Member

jdm commented Dec 1, 2018

./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.

@jdm jdm added E-less-complex Straightforward. Recommended for a new contributor. C-has-manual-testcase A-input labels Dec 1, 2018
@highfive
Copy link

highfive commented Dec 1, 2018

Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the #servo channel in IRC.

If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄

@vn-ki
Copy link
Contributor

vn-ki commented Dec 1, 2018

@highfive: assign me

@highfive
Copy link

highfive commented Dec 1, 2018

Hey @vn-ki! Thanks for your interest in working on this issue. It's now assigned to you!

@highfive highfive added the C-assigned There is someone working on resolving the issue label Dec 1, 2018
@vimpunk
Copy link
Contributor

vimpunk commented Dec 20, 2018

I can position the caret in front of the h with the arrow keys. Has this been fixed?

@jdm
Copy link
Member Author

jdm commented Dec 20, 2018

I can still reproduce this on macOS.

@jdm jdm added P-mac Any version of MacOS and removed C-assigned There is someone working on resolving the issue labels Dec 20, 2018
@vimpunk
Copy link
Contributor

vimpunk commented Dec 20, 2018

Ah ok, I'm on Linux.

@flofriday
Copy link

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
Copy link
Contributor

jackxbritton commented Apr 10, 2019

Hey, I can reproduce this. Can I get assigned?

@jackxbritton
Copy link
Contributor

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.

@jdm jdm removed the E-less-complex Straightforward. Recommended for a new contributor. label Apr 10, 2019
@jdm
Copy link
Member Author

jdm commented Apr 10, 2019

Thanks for verifying that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants