Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Menu Item Tooltips not showing inside FieldSet #3603

Closed
Mashiane opened this issue Mar 6, 2025 · 2 comments
Closed

bug: Menu Item Tooltips not showing inside FieldSet #3603

Mashiane opened this issue Mar 6, 2025 · 2 comments

Comments

@Mashiane
Copy link
Contributor

Mashiane commented Mar 6, 2025

What version of daisyUI are you using?

v5

Which browsers are you seeing the problem on?

Edge

Reproduction URL

https://play.tailwindcss.com/u0HiicY8Ln

Describe your issue

I have created some menu items inside a fieldset with tooltips as per example provided in the docs. The tooltips are not showing. Please kindly advise what I could be missing.

Thank you so much.

Copy link

github-actions bot commented Mar 6, 2025

Thank you @Mashiane for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

saadeghi commented Mar 6, 2025

Hey, this is not about daisyUI, in CSS when you make something vertically scrollable, the horizontal overflow becomes hidden.
Removing overflow-y-auto makes it visible again (but you lose vertical scroll ☹️)
https://play.tailwindcss.com/NTDhlT922B

Example with CSS (no daisyUI)

Some JS tooltip libraries won't have this problem because the content of tooltip is not in the same place, they put the content of tooltip at the end of the page and then they change the position of tooltip using JS when you hover the element.

In the future we can use the same method in CSS as well, using CSS anchor positioning. But right now browser support is not good

@saadeghi saadeghi closed this as completed Mar 6, 2025
@saadeghi saadeghi closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2025
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

No branches or pull requests

2 participants