-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Stop the cursor from jumping when changing prefix in QuickAccess #198821
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
Stop the cursor from jumping when changing prefix in QuickAccess #198821
Conversation
|
Marking as ready for review as we have had this change on prod in our internal fork for 2 weeks with no reported issues. |
|
@TylerLeonhardt - friendly ping. |
TylerLeonhardt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean. I like this! Thanks for fixing!
|
Hi @a-stewart. Unfortunately,I had to revert this PR as it caused this issue: #204572 sorry If you can come up with a solution that fixes the existing issue and doesn't cause that issue, I would accept a PR |
|
Sorry for that - I'll have a look and see if that can be avoided. Hopefully |
This fixes #162914
When changing the prefix, we should check the cursor position on the currently visible picker (if one exists), and if so we should set this as the position for the new picker.
This requires a few changes to create a getter method for the selection, which doesn't currently exist.
Current (broken):

This PR:
