You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have use cases where a page has multiple LayerHosts, one of which can open a ContextualMenu. We noticed that ContextualMenus in particular can go beyond its LayerHost and get tucked behind another.
Actual Behavior
Layers created as a ContextualMenu does not respect the spacing limitations of the LayerHost it's rendered within. However, other layers, such as the Callout in the example, does. I couldn't find in the docs that this behavior was by-design either.
Expected Behavior
Expected ContextualMenus to behave like other layers, where it will overflow if its content is larger than the size defined by its LayerHost
Logs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
The provided reproduction is a minimal reproducible example of the bug.
The text was updated successfully, but these errors were encountered:
Library
React / v8 (@fluentui/react)
System Info
Are you reporting an Accessibility issue?
no
Reproduction
https://codepen.io/jcksonhe/pen/OJedayw
Bug Description
We have use cases where a page has multiple
LayerHost
s, one of which can open aContextualMenu
. We noticed thatContextualMenu
s in particular can go beyond itsLayerHost
and get tucked behind another.Actual Behavior
Layers created as a
ContextualMenu
does not respect the spacing limitations of theLayerHost
it's rendered within. However, other layers, such as theCallout
in the example, does. I couldn't find in the docs that this behavior was by-design either.Expected Behavior
Expected
ContextualMenu
s to behave like other layers, where it will overflow if its content is larger than the size defined by itsLayerHost
Logs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: