marigold-ui/marigold

Select doesn't stay open at certain points

lauraNawrotzki opened this issue · 0 comments

Description

In the ACC, we need a table that has a select component in the last column.
When you try to select an item in one of the lower rows, there seems to be a point where the select menu is not sure where it should appear (above or below the select). In this case the select menu doesn't stay open unless you hold down your left mouse button.

How to reproduce

Steps to reproduce the behavior:

Use the replit below and try click from top to bottom through the selects in the last column.
In the upper table rows, the select menu appears below the select.
Going down from the top you'll reach a point, where the select menu opens for a second, but then closes immediately.
In the lower table rows the select menu appears above the select.

https://replit.com/@LauraNawrotzki/Select-in-Marigold-Table#src/App.tsx

Expected behavior

The select menu should always be useable.

Screenshots

Screen.Recording.2022-12-02.at.11.05.36.mov