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.
Loading
-
mentioned in commit f8dfbb5e
-
mentioned in merge request status-page!903
-
mentioned in merge request gitlab!150344 (merged)
-
mentioned in merge request gitlab-org/frontend/pajamas-adoption-scanner!323 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!3827 (merged)
-
mentioned in merge request gitlab-org/frontend/playground/accessibility-scanner!34 (merged)
-
mentioned in merge request gitlab-org/editor-extensions/gitlab-jetbrains-plugin!486 (closed)
-
mentioned in merge request gitlab-org/editor-extensions/gitlab-jetbrains-plugin!570 (merged)
Please register or sign in to comment