-
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
Fix submenu direction justification regression #31414
Conversation
Size Change: +26 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
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.
This one tests well for me!
navdirection.mp4
While testing I did notice space-between for page list, doesn't appear to work, but that's better handled in a separate PR.
Thank you! I'll land this one.
Yes, good point. I have something working here: #29771 |
Description
In #30342, it was made so that submenus open in the opposite direction of the justification, i.e. if your navigation menu is right justified, submenus open leftwards.
That regressed in some of the recent refactors. This PR restores it:
How has this been tested?
Insert a navigation menu with submenu items. Ideally we test both manual menu items and page list generated submenu items.
Justify right, and test that nested submenus open leftwards.
Bonus points, test space between, and ensure the right-most menu item has nested submenus. Then test that and verify it opens leftwards as well.
Checklist:
*.native.js
files for terms that need renaming or removal).