Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

MenuView scrolling vertically #355

Open
kelvinvalensius opened this issue May 25, 2017 · 1 comment
Open

MenuView scrolling vertically #355

kelvinvalensius opened this issue May 25, 2017 · 1 comment

Comments

@kelvinvalensius
Copy link

kelvinvalensius commented May 25, 2017

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants