-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Zoom Out: Move the hook to the inserter component #63315
Conversation
…unning on each mount of the pattern category preview panel
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Probably should resolve #63168 as well. |
Size Change: +2 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
Flaky tests detected in b1ff9bd. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9859847909
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
…unning on each mount of the pattern category preview panel (WordPress#63315) Co-authored-by: scruffian <[email protected]> Co-authored-by: jeryj <[email protected]> Co-authored-by: Mamaduka <[email protected]> Co-authored-by: MaggieCabrera <[email protected]>
Hey @scruffian, thanks for working on this! I'm testing it on the v18.8.0-rc.2 release. |
…unning on each mount of the pattern category preview panel (WordPress#63315) Co-authored-by: scruffian <[email protected]> Co-authored-by: jeryj <[email protected]> Co-authored-by: Mamaduka <[email protected]> Co-authored-by: MaggieCabrera <[email protected]>
What?
Fixes #62707.
Runs the hook in the inserter component so it doesn't keep running on each mount of the pattern category preview panel.
Why?
This prevents the continual running of the hook when mounting and unmounting the pattern preview component.
How?
Moves the hook back to the inserter component.
Testing Instructions
Do the same in the post editor.
Screenshots or screencast
Jul-09-2024.16-22-12.mp4