Skip to content

Dialog Overlay Stays Open After Closing Dialog with Close Button on Mobile #1388

Answered by lsbyerley
lsbyerley asked this question in Help
Discussion options

You must be logged in to vote

Turns out, i needed to add the open={modalOpen} prop to the <Dialog> component. Oddly, it still closes fine on desktop, but the overlay stays in the dom on mobile without this prop.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lsbyerley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant