-
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
Fix mobile inserter focus behavior #29342
Conversation
Size Change: +17 B (0%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
I extended our existing e2e test to include small viewports in 1ce5088. I've tested that change on |
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! 🎉
On mobile, the focus actually never moves back to the newly inserter block in the inserter. So this means the change in behavior in the block selection behavior (selected used to mean focus), cause the focus to just stay where it was in mobile when inserting blocks. Co-authored-by: Bernie Reiter <[email protected]>
Cherry-picked to |
closes #28932
On mobile, the focus actually never moves back to the newly inserter block in the inserter. So this means the change in behavior in the block selection behavior (selected used to mean focus), cause the focus to just stay where it was in mobile when inserting blocks.
This PR uses the
shouldFocusBlock
boolean in mobile to keep the old behavior there.