reactjs-popup icon indicating copy to clipboard operation
reactjs-popup copied to clipboard

Popup opens behind MUI Dialog

Open Ploppz opened this issue 3 years ago • 2 comments

Version

2.0.5

Test Case

https://codesandbox.io/s/eloquent-voice-c239pn?file=/src/App.js

Expected Behavior

The popup should be visible

Actual Behavior

The popup is partially occluded by the Dialog

Ploppz avatar Aug 22 '22 13:08 Ploppz

Have similar problem, popup appears behind Storybook menu.

shnigi avatar Sep 08 '22 10:09 shnigi

@shnigi We found a way to solve it. On the popup component in React, or with CSS referencing the class of the popup element, set z-index to a very high number that is higher than that of the Dialog. We went with zIndex:"100000000"

Ploppz avatar Nov 25 '22 13:11 Ploppz