🐛 Bug Report
A submenu with a lot of items is displayed off the page:
💻 Repro or Code Sample
🤔 Expected Behavior
I would expect the opened menu to be positioned so that it doesn't go off the page. Photoshopped example:
I see this behavior at https://storybooks.fluentui.dev/react/?path=/docs/components-menu-menu--docs#nested-submenus when expanding a submenu near the edge of the page:
😯 Current Behavior
See above
💁 Possible Solution
Don't always open a submenu at the exact parent item position. Shift it so that it fits within the page.
🔦 Context
🌍 Your Environment
- OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
- Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
- .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]
🐛 Bug Report
A submenu with a lot of items is displayed off the page:
💻 Repro or Code Sample
🤔 Expected Behavior
I would expect the opened menu to be positioned so that it doesn't go off the page. Photoshopped example:
I see this behavior at https://storybooks.fluentui.dev/react/?path=/docs/components-menu-menu--docs#nested-submenus when expanding a submenu near the edge of the page:
😯 Current Behavior
See above
💁 Possible Solution
Don't always open a submenu at the exact parent item position. Shift it so that it fits within the page.
🔦 Context
🌍 Your Environment