kitasuke / PagingMenuController

Paging view controller with customizable menu in Swift
MIT License
2.49k stars 448 forks source link

MenuView scrolling vertically #355

Open kelvinvalensius opened 7 years ago

kelvinvalensius commented 7 years ago

Expected behavior MenuView can't be scrolled vertically https://ibb.co/bwv7OF

Actual behavior MenuView can be scrolled vertically https://ibb.co/h2jCqv

How to reproduce Setting the displayMode's scrollingMode as .scrollEnabled or .scrollEnabledAndBounces I'm using the .standard displayMode

My questions are:

  1. is it the expected behavior?
  2. if so, how to disable vertical scrolling in MenuView?

Thanks a lot :) @kitasuke

rogerfanfan commented 7 years ago

@kelvinvalensius I have same issue. I use this. let vc = PagingMenuController(options: option) vc.menuView?.contentSize = CGSize(width: vc.menuView!.contentSize.width, height: 0)