Skip to content

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

@Johnkat-Mj

Description

@Johnkat-Mj

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:

  • The popper should position correctly inside its container without overflowing, while still being properly placed relative to its parent element.

Current Behavior:

  • With position: absolute;, the popper overflows the container's boundaries.

Possible Solution:

  • Investigate alternative positioning methods or adjustments that allow the popper to be positioned correctly within containers like table cells or other elements, without causing overflow or space issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions