nextui
nextui copied to clipboard
[BUG] - Components/Tooltip content behind Components/Modal
Describe the bug
When using a Tooltip in an open Model, the tooltip content shows up behind the Modal. Setting the z-index of the Tooltip to 10000 resolves this, because the Modal uses a z-index of 9999.
Your Example Website or App
https://codesandbox.io/s/next-ui-tooltip-behind-modal-sxh06v
Steps to Reproduce the Bug or Issue
- Hover over the "Do hover here" button.
- See that the Tooltip content is behind the Modal.
Expected behavior
As a user, I expected the Tooltip content to be on top of the Modal, but I am seeing the Tooltip content is behind the Modal.
Screenshots or Videos

Operating System Version
Windows
Browser
Chrome