-
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
Rich text: remove unnecessary handleSelectionChange call #48373
Conversation
Size Change: -33 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in 6e6cc06. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4257488249
|
f2d8721
to
6e6cc06
Compare
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.
Judging by the test results, it seems safe. Any caveats @ellatrix ?
No, I think this is safe. |
What?
Setting selection after focus is no longer necessary. It's probably enough to handle it on keyup/mouseup.
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast