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

Fix: Pattern navigation toggles zoom out view while navigating the categories #62391

Closed
wants to merge 1 commit into from

Conversation

amitraj2203
Copy link
Contributor

What?

FIxes: #62364

Why?

While navigating the Patterns categories in the Inserter, the zoom-out view changes from zoom-out to zoom-in

How?

Conditionally uses the useZoomOut() hook within a component.

Testing Instructions

  1. Gutenberg > Experiment > click on Enable zoomed out view when selecting a pattern category in the main inserter.
  2. Open a page in the editor
  3. Open the Inserter with the Pattern tab and navigate all the patterns
Screen.Recording.2024-06-07.at.4.21.56.AM.mov

@amitraj2203 amitraj2203 requested a review from ellatrix as a code owner June 6, 2024 22:53
Copy link

github-actions bot commented Jun 6, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: amitraj2203 <amitraj2203@git.wordpress.org>
Co-authored-by: stokesman <presstoke@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: bph <bph@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@amitraj2203 amitraj2203 added [Type] Bug An existing feature does not function as intended [Feature] Zoom Out labels Jun 6, 2024
@stokesman
Copy link
Contributor

Thanks for making this PR. It looks like the issue was resolved by #63315. You may, of course, wish to test and confirm that’s the case but otherwise it looks like it’s time to close this one.

@amitraj2203 amitraj2203 closed this Nov 8, 2024
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
None yet
Development

Successfully merging this pull request may close these issues.

Pattern navigation toggles zoom out view
2 participants