-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: OffCanvasEditor does not inserts submenu on collapsed items. #48214
Fix: OffCanvasEditor does not inserts submenu on collapsed items. #48214
Conversation
Size Change: +29 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in a062253. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4205465909
|
Testing this on trunk I see that the link is added to the submenu but the UX is broken, because the submenu does not expand so we don't know something happened. |
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.
Cool fix! Thank you 👏🏻
I just cherry-picked this PR to the wp/6.2 branch to get it included in the next release: 4494f13 |
Currently on the OffCanvasEditor if a menu item is collapsed and we press "Add submenu" nothing happens. This PR fixes the issue when inserting a submenu now the parent is automatically expanded and we see the UI to create the submenu as expected.
cc: @draganescu