sui-components
sui-components copied to clipboard
✨ [Select Popover] Allow controlling the position of the Popover Box
Is your iteration request related to a problem?
The popover is always positioned relative to the select that opens it, but in some cases, we want to keep the content positioned relative to another element.
Check the 2 videos below. In this case, we need the popover to remain centered on the page instead of following the selects:
Wrong
https://user-images.githubusercontent.com/23620759/202304558-a7dbbd45-ff5a-4b09-840b-e72b8292a0bb.mov
Right
https://user-images.githubusercontent.com/23620759/202304460-f9589f22-e927-464b-ba3d-966bd62d01ee.mov
Describe the solution you'd like
The possibility of positioning the popover relative to an element different than the select.
Screenshots
No response
Additional context**
No response
Additional info
No response