Skip to content

Should AlertDialog have onInteractionOutside? #1777

Discussion options

You must be logged in to vote

It doesn't currently have onInteractOutside because it doesn't have onPointerDownOutside.
onInteractOutside is a combination of both onPointerDownOutside and onEscapeKeydown.

Currently AlertDialog only has onEscapeKeydown which arguably, perhaps we should remove.
The thinking behind this is that AlertDialog is for critical use input and so it should require an actual action from the user via one of the buttons, rather than soft dismissal.

Replies: 1 comment

Comment options

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