-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Disable selection when resizing #17359
Conversation
It seems that the issue is a bit bigger because of |
@senadir Thanks for pointing to these PRs! I think that should be doable by not using |
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.
I've tested this PR and it works great without breaking other things, I have one comment but it shouldn't block this PR, and I don't have strong opinions about it.
Description
Fixes #17313.
Disables text and block selection when resizing items in the editor.
Not part of the
ResizableBox
component itself as it should also work in different contexts.How has this been tested?
Tested by following the steps in #17313 and verifying that no accidental selection happens.
Screenshots
Demo Video: https://cloudup.com/cNrI6jKgDpl
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: