Closed JoltCode closed 1 year ago
Describe the bug
If you set a z-index on an element within a story, and then click a button in the ladle header, an overlap is visible.
Reproduction
https://stackblitz.com/edit/ladle-jgjpzw?file=src%2Fbasic.stories.tsx,src%2Fcontrols.stories.tsx
(You can also click any other button which opens a popup)
Environment
N/A
Appears related to https://github.com/tajo/ladle/issues/272, but a z-index hasn't been set on the actual popups.
Describe the bug
If you set a z-index on an element within a story, and then click a button in the ladle header, an overlap is visible.
Reproduction
https://stackblitz.com/edit/ladle-jgjpzw?file=src%2Fbasic.stories.tsx,src%2Fcontrols.stories.tsx
1. Click controls button
2. Ensure preview is desktop
3. You will see an overlap
(You can also click any other button which opens a popup)
Environment
N/A