AssistoLab / DropDown

A Material Design drop down for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DropDown does not dismiss when clicked outside

antileks opened this issue · comments

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?

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!

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