emilkowalski / vaul

An unstyled drawer component for React.
https://vaul.emilkowal.ski
MIT License
5.75k stars 193 forks source link

Vaul prevents interacting with shadow dom elements #192

Open Georgegriff opened 8 months ago

Georgegriff commented 8 months ago

I'm consuming a react library (emoji mart) that happens to use shadow dom internally. I've found that this library breaks when its contents have shadow dom, it seems to prevent all clicks getting through. Keyboard interactions do work, however.

Reproduction case here

I've provided a few buttons in the demo:

This issue does not happen with radix dialogs

pulsedemon commented 6 months ago

I'm having the same issue.

TranMacTien commented 2 months ago

Does anyone have a solution?

Estebank94 commented 1 month ago

Same issue