Skip to content
Discussion options

You must be logged in to vote

Thank you very much for providing the sandbox. The behavior you see is happening due to Radix UI Dialog adding pointer-events: none style to the document <body>:

Here is the workaround you can use to counter this behavior:

<Lightbox
  styles={{ root: { pointerEvents: "auto" } }}
  // ....
/>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yoouTaro
Comment options

@igordanchenko
Comment options

Answer selected by yoouTaro
@yoouTaro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants