WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.48k stars 4.18k forks source link

No focusable inserter in zoom out #66346

Open jeryj opened 3 days ago

jeryj commented 3 days ago

Description

In zoom out, an inserter appear on the selected block at the end of the block boundary. It only gets rendered if this block boundary is visible within the viewport. When using a keyboard, this means there is no focusable inserter if the block boundary is not within the viewport, which is fairly common in zoom out mode.

Step-by-step reproduction instructions

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Please confirm which theme type you used for testing.

jeryj commented 3 days ago

A way to mitigate but not fix the core issue would be to add an inserter back to the top of the block boundary as well. This makes it more likely that there will be an inserter, but doesn't fix the core issue. The inserter should be able to be rendered without being in the viewport.