Skip to content
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

Clicking on quick inserter or block toolbar does nothing when block library sidebar is open #35575

Closed
tellthemachines opened this issue Oct 13, 2021 · 1 comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Package] Interface /packages/interface [Type] Bug An existing feature does not function as intended

Comments

@tellthemachines
Copy link
Contributor

Description

If the block library sidebar is open, clicking on a block inserter in the canvas, or clicking anywhere on a block toolbar has no effect but to close the block library sidebar and focus the clicked element.

This seems to be related to the layout reflow that occurs when the sidebar is closed, because changing the sidebar styles to absolutely position it over the editor instead of by its side fixes the issue.

Step-by-step reproduction instructions

  1. In the post editor, make sure there's some content and select a block so that its toolbar is visible.
  2. Click the "Add" button in the header to open the block library.
  3. Try clicking "options" on the block toolbar. Verify that the options dropdown doesn't open, but the block library sidebar closes.

Screenshots, screen recording, code snippet

bloclib

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

@tellthemachines tellthemachines added [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Package] Interface /packages/interface labels Oct 13, 2021
@jordesign jordesign added the [Type] Bug An existing feature does not function as intended label Aug 18, 2023
@jordesign
Copy link
Contributor

This does seem the same as #51678 which is mentioned above. I'll close this issue in favour of that one as it has a little more activity, and more recent screenshots/cast

@jordesign jordesign closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Package] Interface /packages/interface [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants