Dropdown clipped inside horizontally scrollable container #4100
Replies: 1 comment 2 replies
-
In CSS when you add overflow in one direction, the other one becomes hidden. Hopefully later on when Firefox and Safari start supporting CSS Anchor Positioning, we can use that for dropdown which will prevent this problem. Currently workaround would be avoiding Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What’s the suggested approach in v5 for using dropdowns inside scrollable containers without them being clipped?
Minimal repro
Expected behavior
The dropdown menu should open normally, extending outside of the parent if necessary.
Actual behavior
Because the parent container uses
overflow-x-auto
, the dropdown menu is clipped and not visible outside the scroll container.Beta Was this translation helpful? Give feedback.
All reactions