You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When on the navigation focus mode and the top-level navigation is selected, the command palette button is missing. We could add useHasBlockToolbar to check if a toolbar will be rendered or not, but it's a slow check that increases the block selection/focus metric by 25%. Ideally, we could solve this with CSS-only, but it would likely require shuffling the DOM around so the block toolbar is a sibling of edit-site-header-edit-mode__center.
The issue is pretty minor overall and if the navigation focus-mode is going away soon(?) then maybe this isn't worth addressing.
Step-by-step reproduction instructions
Go to site editor
Select Navigation from the sidebar
Select a Navigation Menu
Turn on Top Toolbar
Select the navigation block
Arrow up until the top level navigation block is selected
Command palette and block tools are both missing
Screenshots, screen recording, code snippet
Screen.Recording.2024-04-30.at.12.54.34.PM.mov
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered:
Description
When on the navigation focus mode and the top-level navigation is selected, the command palette button is missing. We could add
useHasBlockToolbar
to check if a toolbar will be rendered or not, but it's a slow check that increases the block selection/focus metric by 25%. Ideally, we could solve this with CSS-only, but it would likely require shuffling the DOM around so the block toolbar is a sibling ofedit-site-header-edit-mode__center
.The issue is pretty minor overall and if the navigation focus-mode is going away soon(?) then maybe this isn't worth addressing.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2024-04-30.at.12.54.34.PM.mov
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: