Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added elastic boolean to let the user pan the center view controller past the edge #114

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

chourobin
Copy link
Contributor

Wanted to add an elastic effect similar to the Wunderlist 2 iOS app. To keep consistent with existing API, elastic is off by default and needs to be enabled.

Let me know what you think?

@mikefrederick
Copy link
Owner

I dig it. I would even make this the default behavior (possibly even remove the option).

However, right now the library resizes the side menu to fit to inside the leftMenuWidth/rightMenuWidth properties, which makes this behavior odd. There is a black space behind the centerViewController when it is pulled past the menu.

Maybe it is better to not adjust the frame of the menus and leave that work up to people using the library.

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

Successfully merging this pull request may close these issues.

2 participants