Closed rico237 closed 7 years ago
I've got the same issue.
I will try to code a fix for this :)
Thanks for the patch, I'm going to review it.
Since we are working on a fix for this issue i can close it now :)
Don't forget to push to cocoapods cause i'm still getting the old version without the fix via cocoapods
I'll push a new version as soon as iOS 11 support is fixed (#19).
the problem is titleview in navigation bars frame is set to 0 .If you add a frame ( actually you shouldnt need to but, in IOS 11 yes) then your dropdown will start to work
qmathe , while you are pushing a new version, can you please add a property that closes the animation but show instantly when set to true.
I'm using this array with 19 items on it, some items are then listed outside of the iphone screen and the menu don't scroll so users can't reach the 19th elements of my array ...
["Alimentaire","Artisanat","Bien-être","Décoration","E-commerce","Distribution","Hôtellerie","Immobilier","Informatique","Métallurgie","Médical","Nautisme","Paramédical","Restauration","Sécurité","Textile","Tourisme","Transport","Urbanisme"]
The code I used to dynamically load array into your menu from your demo project
`func prepareNavigationBarMenu(_ currentChoice: String) { navigationBarMenu = DropDownMenu(frame: view.bounds) navigationBarMenu.delegate = self
Screenshot :