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
onInteractOutsidebecause it doesn't haveonPointerDownOutside.onInteractOutsideis a combination of bothonPointerDownOutsideandonEscapeKeydown.Currently
AlertDialogonly hasonEscapeKeydownwhich arguably, perhaps we should remove.The thinking behind this is that
AlertDialogis for critical use input and so it should require an actual action from the user via one of the buttons, rather than soft dismissal.