-
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
Limit navigation depth to 5, to avoid submenus going off the editor canvas #21691
Comments
Thanks for the ticket, you are the best tester! To an extent, though, some of this should be "allowed", insofar as if you really want to, you can break any layout with an unfortunate usage of the tools available, and by that I mean everything ranging from the spectrum of setting the font to 2px Comic Sans, to grouping a paragraph in 100 layers of groups. What do you think, @shaunandrews? |
I think it is weird that the submenus can nest infinitely like this; I'd expect there to be some limit on the number of nested menus. |
Good point. How about 5? That seems like it would be one more than anyone should ever need, and presumably we'd be able to easily increase that if someone wants it. |
Makes sense to me. |
Tammie my friend, I took the liberty of editing the ticket here to make it about limiting the amount of nesting to 5. |
👀 |
Removes the ability to nest submenus beyond 5 to avoid scrolling off the screen. Closes #21691
If you add multiple sub navigations it can end up going off the canvas.
Edit: Per discussion, a good solution for starters would be to limit the navigation depth to 5.
The text was updated successfully, but these errors were encountered: