-
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
Patterns: Prevent convert modal closing block options menu #53707
Patterns: Prevent convert modal closing block options menu #53707
Conversation
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.
Makes sense! It's good for accessibility too! I'm not sure why it was implemented that way before 😅 .
Size Change: -9 B (0%) Total Size: 1.51 MB
ℹ️ View Unchanged
|
Flaky tests detected in adb1f0d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5873727331
|
Fixes: #53694
What?
Prevents the "create pattern" modal from closing the block options menu when it is closed.
Why?
Provides consistency with the lock modal from the same block options menu.
How?
Removes the call to the menu item's
onClose
Testing Instructions
Screenshots or screencast
Screen.Recording.2023-08-16.at.11.46.44.am.mp4