dogo / SCLAlertView

Beautiful animated Alert View. Written in Objective-C
MIT License
3.5k stars 534 forks source link

Tap inside the alert will dismiss the alert when using new window and shouldDissmissOnTapOutside=YES #211

Closed jzau closed 7 years ago

jzau commented 8 years ago

Add an alert with new window and set shouldDismissOnTapOutside to YES.

Expected Result

Tap outside should disappear the alert but tap title or circle shouldn't disappear it.

Actual Result

Tap anywhere will disappear the alert include circle image, title label ...

Tell us what could be improved:

Maybe you could add touchEvent rather than tapGesture when using new window. And figure out if the position of touch is inside/outside the alert view.

mmahkamov commented 8 years ago

Having the same issue with SCLAlertView version: 1.0.5. The alert is dismissed if the user accidentally taps on it (e.g. misses a button).

Connerli commented 7 years ago

I have the same issue.

dogo commented 7 years ago

@jackyzh @mmahkamov @Connerli Please update to 1.1.2

Connerli commented 7 years ago

@dogo Resolved, thank you.