Skip to content

Conversation

@karinevieira
Copy link
Contributor

In our project, we encountered some positioning issues when using other components inside the dropdown.

We rendered a button with a tooltip inside a dropdown item, but the tooltip wasn't displayed correctly:

image

To fix this, we removed the overflow-hidden class from the dropdown. After that, the tooltip displayed as expected:

image

In another case, a Skeleton component was appearing on top of the dropdown. After some investigation, we discovered that the z-index class needed to be applied directly to the root element of the dropdown to ensure proper stacking.

@cirdes cirdes merged commit 6ae5f91 into ruby-ui:main Jun 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants