Replies: 1 comment
-
Same thing... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to find a way to make dialog persistent on screen. I mean I need to disable the closing feature of dialog when the user clicks somewhere outside of the dialog. I tried the
static
prop but it didn't help. I read the solution alternatives in this discussion. They mention about a tailwind class for pointer events but in new version Dialog.Overlay is deprecated. And also I don't want to looseesc
key functionality if I have an emptyonclose
function. Is there any new, better way to solve this problem or should I have an empty onClose function and implementesc
keydown event listener?Thanks and regards.
Beta Was this translation helpful? Give feedback.
All reactions