Close ModalScreen
on click outside modal content
#4483
TomJGooding
started this conversation in
General
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Looks like a solid solution to me! |
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
-
You might sometimes want to close a
ModalScreen
by simply clicking outside the modal content (i.e. the darkened background).I couldn't find anything in the docs or other discussions, so just sharing this in case it helps someone.
Please let me know if there is a better way!
Beta Was this translation helpful? Give feedback.
All reactions