AssistoLab / DropDown

A Material Design drop down for iOS
MIT License
2.44k stars 622 forks source link

DropDown does not dismiss when clicked outside #276

Open antileks opened 3 years ago

antileks commented 3 years ago

I noticed a problem in iOS 14. Does not work dismissing DropDown when pressed outside. When setting dropDown.dismissMode = .onTap, the dismissableView is displayed correctly, but does not respond to clicks. On iOS <= 13.5 everything works as expected. How can this problem be corrected?

antileks commented 3 years ago

I noticed that dismissableViewTapped is triggered only when clicking on the tableViewContainer but when clicking on the dismissableView, nothing happens. In iOS 13.5, the opposite is true!

antileks commented 3 years ago

After updating iOS to 14.1 this problem disappeared! Apparently it was an iOS 14 bug.