Alert Controller Dismiss on tapping the background

Solved the problem, I read again the documentation and this is done very simple, my bad for not seeing it earlier.

Property: enableBackdropDismiss boolean Whether the alert should be dismissed by tapping the backdrop. Default true.

2 Likes