AssistoLab / DropDown

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

dropDown.show() doesnt show any dropdown #263

Open priyanka-malve opened 4 years ago

priyanka-malve commented 4 years ago

Hello

I have an app with multiscreen structure. i am using dropdown on both screens. it works in first screen perfectly but not working in second screen. also when i try to capture tuple returned on .show() method it returns nil for second screen but returns perfect tuple in first screen...what can be the issue in this case?

huuchi207 commented 4 years ago

same problem. any update?

BharathGithubUser commented 3 years ago

check if your data source is loaded with proper data. In my case i somehow missed loading the data in datasource array.

Roman-Markov commented 3 years ago

I have the same issue. Data source is set in viewDidLoad() and is not changing in runtime.

Roman-Markov commented 3 years ago

I found the cause of the issue in my side. In project was used UIView extension:

extension UIView {
    func show() {
        if isHidden {

I had to rename it.