Should AlertDialog have onInteractionOutside
?
#1777
-
Hello! I was wondering if it would make sense to have an Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It doesn't currently have Currently |
Beta Was this translation helpful? Give feedback.
It doesn't currently have
onInteractOutside
because it doesn't haveonPointerDownOutside
.onInteractOutside
is a combination of bothonPointerDownOutside
andonEscapeKeydown
.Currently
AlertDialog
only hasonEscapeKeydown
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.