Open LangRizkie opened 4 days ago
- please provide a minimal reproducible environment
- what is the expected behaviour in your example? the navbar should be on top of the tooltip?
I have updated the issue with Codesandbox link, the default Tooltip zIndex is 100000 and we can't force to make Navbar zIndex to over than that. We might be facing issue with another absolute/fixed component.
NextUI Version
^2.4.8
Describe the bug
The tooltip is incorrectly positioned and overlaps the navbar when the page is scrolled. I can increase the navbar's z-index to fix this, but it's not ideal as it might unintentionally affect other components.
Your Example Website or App
https://codesandbox.io/p/devbox/goofy-lucy-cjncsk
Steps to Reproduce the Bug or Issue
Expected behavior
The tooltip must have a rational z-index value instead making it always on the top of everything.
Screenshots or Videos
Operating System Version
Windows 10
Browser
Chrome