Azuritul / AZDropdownMenu

A simple dropdown menu component for iPhone
http://azuritul.github.io/AZDropdownMenu
MIT License
193 stars 50 forks source link

Can not disable scroll on tableview #10

Closed shuto-S closed 8 years ago

shuto-S commented 8 years ago

Maybe, set in initOverlay() is not enough.

Example: overlay. scrollEnabled = false

Azuritul commented 8 years ago

I am afraid I don't understand your question.
Would you describe more about it? Did you encounter a bug or did you try to achieve some effect without success?

shuto-S commented 8 years ago

I am sorry. My explanation was not enough.

I tried to use the AZDropdownMenu. It was a success, However, under UIView can be scroll.

Is this specification? While the AZDropdownMenu is being displayed is not want to scroll.

sample gif https://gyazo.com/196c8cc6883fa9c55010899b025f8599

Azuritul commented 8 years ago

Ah, I see. Thanks for the sample picture. And no, that is not the intended behavior.
I'll find some time to look into this problem.

I would like to know what is the underlying view controller class for the screen(ランキング). An UITableViewController or an UIViewController with a tableview?

Thank you for reporting!

shuto-S commented 8 years ago

It is UITableViewController.

I appreciate that you dealt with my case quickly.

han76816 commented 8 years ago

I try to use UIViewController with tableview also have this problem..

Azuritul commented 8 years ago

For now, to address this issue, I would recommend using a UIViewController with tableview instead of UITableViewController. If you can't really change implementation, #15 should address part of the scrolling issue. However there might be a need to do some more tuning on the calling view controller.

han76816 commented 8 years ago

Hi, I was wondering whether menu should scroll or not because my items is too much to show on the screen lol

Azuritul commented 8 years ago

It depends, but in this occasion I think it might indicate that the dropdown is not the most suitable component to be used here.