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

Insert plus and vertical toolbar displaced by UI state #65654

Closed
2 tasks done
draganescu opened this issue Sep 25, 2024 · 2 comments
Closed
2 tasks done

Insert plus and vertical toolbar displaced by UI state #65654

draganescu opened this issue Sep 25, 2024 · 2 comments
Assignees
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended

Comments

@draganescu
Copy link
Contributor

Description

In zoom out view the state of the UI - mostly of the inserter it appears - displaces some other elements:

  • the plus inserter is sometimes positioned off center
  • the vertical toolbar is moved to the left as if it's anchored to the inserter not to the selection

Step-by-step reproduction instructions

  1. In a template
  2. Add some patterns
  3. Save and reload
  4. Toggle zoom out view
  5. Hover over the top most pattern - don't click it
  6. Click the top plus [+] inserter
  7. The inserter will open with patterns and All category selected
  8. sometimes the [+] will be offset
  9. Click on one of the patterns
  10. Notice the vertical toolbar to the left
  11. Close the inserter from the top left x button [x]
  12. Sometimes the toolbar is moved to the left

Screenshots, screen recording, code snippet

inserter-and-toolbar-displaced.mp4

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
@dhruvang21
Copy link
Contributor

Hello @draganescu,

I created a PR: #65771 to resolve the issue: #65595. I also found that it resolves this issue as well.

I’ve attached a video below showing the resolved issue.
https://github.com/user-attachments/assets/299d3a96-28c8-42a4-b4a0-42a5acd32b86

Thanks!

@draganescu
Copy link
Contributor Author

Same as #65188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended
Projects
Status: Done
Development

No branches or pull requests

2 participants