-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Revert "Dismiss text selection toolbar with ESC" #98600
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
Revert "Dismiss text selection toolbar with ESC" #98600
Conversation
This reverts commit 9407700.
christopherfujino
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.
RSLGTM
|
Ah sorry, I should have realized that would happen in code review. I think the action in EditableText can set its isEnabled based on whether or not the toolbar is currently visible. Then if the Autocomplete is showing its options, and the field is showing the selection toolbar, the first escape would close the toolbar, and the second would hide the options. I think that's the right behavior in that case. |
…tter#98600) This reverts commit 9407700.
Turns out #98511 broke #97790 by always consuming the input @justinmc
I think the basic
CallbackActionalways consumes the input since it can't be disabled like_AutocompleteCallbackAction. Either way it broke the test for #97790 and should get reverted and fixed. I think the PR checker was behind ToT since I rebased just before #98511 landed.Reverts #98511