unify-ui-dev / flexilla

Interactive Component Library
https://flexilla-docs.vercel.app/
MIT License
15 stars 5 forks source link

Popper Element Positioning Problem with Overflow and Space in Containers #70

Closed Johnkat-Mj closed 1 week ago

Johnkat-Mj commented 1 month ago

Description: There is a problem with how the popper element in the library behaves depending on its position style. Currently, the popper works well when the position is set to absolute. However, if the popper is inside a container like a table cell, setting position: absolute; makes it overflow outside the container, which is not desirable.

On the other hand, if we set position: fixed;, the popper doesn't overflow, but it also doesn't take up any space within the container, making it difficult to manage its placement properly. This issue can happen not just with tables but with any other container element.

Expected Behavior:

Current Behavior:

Possible Solution: