nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Components/Tooltip content behind Components/Modal

Open TechnologicNick opened this issue 3 years ago • 0 comments

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

  1. Hover over the "Do hover here" button.
  2. 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

image image

Operating System Version

Windows

Browser

Chrome

TechnologicNick avatar Aug 09 '22 18:08 TechnologicNick