Skip to content
Commit ee0cd82b authored by Miguel Rincon's avatar Miguel Rincon 💬
Browse files

feat(BaseDropdown): Use a "main" element boundary when available

BREAKING CHANGE: This change slightly alters the default positioning
of GlDisclosureDropdown and GlListbox.

If the dropdown is placed inside a <main> element: The disclosure
will use main as a boundary to not overflow it. This change aims
to smartly reduce the need to use custom "placement" ('right'
and 'bottom-end') options, especially when the dropdown is placed
on the right side, such as in contextual menus.

If the dropdown is not placed in a <main> element, behavior does
change.
parent 8cc72b2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment