-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix dragging while the text selection toolbar is up doesn't hide toolbar #106878
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
Fix dragging while the text selection toolbar is up doesn't hide toolbar #106878
Conversation
justinmc
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.
LGTM, thanks for the fix!
| if (cause == SelectionChangedCause.drag) { | ||
| _editableText.hideToolbar(); | ||
| } | ||
| break; |
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.
At first I thought it was strange to have two switches on the platform back to back, but I think it makes sense. Otherwise you'd have to duplicate a bunch of code in a single switch.
…bar (flutter#106878) Fixes a fidelity bug on desktop involving the selection toolbar not hiding when it should have.
fixes #106820
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.