Repository navigation
Fix clicking on the toggle button not closing the block inserter - #47926
Conversation
|
Size Change: +8 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 57d84b9. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4141987945
|
6e8af48 to
06b3438
Compare
apeatling
left a comment
There was a problem hiding this comment.
This is working well in the post editor, but I still see the same issue in the site editor so you'll need to adjust it there too. 👍
alexstine
left a comment
There was a problem hiding this comment.
@kevin940726 Thanks for the fix. This has been annoying me for some time. Glad the button toggles now.
b90720c to
57d84b9
Compare
Mamaduka
left a comment
There was a problem hiding this comment.
Fixes issue in both Post and Site editor ✅
It seems there is a consensus to land this ad hoc fix, so feel free to land..
|
Working in the site editor now, LGTM! 👍 |
|
I just cherry-picked this PR to the wp/6.2 branch to get it included in the next release: 7c87d68 |
What and why?
Fix #43090.
How?
This PR takes an ad-hoc approach to fix the issue. There might be better solutions with focus handling, but it'd be nice to land this until we find a better solution.Testing Instructions
Also added an e2e test.
Testing Instructions for Keyboard
This issue is not reproducible on keyboard.
Screenshots or screencast
Kapture.2023-02-09.at.21.02.27.mp4