VSD Usage Overview Panel – Improve popover positioning
The following discussion from !148597 (merged) should be addressed:
-
@lvanc started a discussion: (+5 comments) - Tooltip alignment is off: Not sure if this issue is specific to my local machine? Are you able to reproduce this?
Tooltip alignment is off |
---|
Screen_Recording_2024-04-04_at_10.16.35 |
Summary
The panel is a bit tight on space, and since the popover is positioned relative to its parent, it's having trouble automatically positioning itself.
Possible Fix
Set the GlPopover
component's boundary
to viewport
or window
(should we modify this component upstream in gitlab-ui
and add the boundary
prop or is it enough that the b-popover
is inheriting it?)