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

Swiping fully in any direction destroys the view. Need an option to not destroy. #83

Closed
benmathes opened this issue May 12, 2015 · 2 comments

Comments

@benmathes
Copy link

When using someUIView.mdc_swipeToChooseSetup(...), a full swipe to the left or right will destroy the view.

If this view was created with storybuilder, then an @IBAction or @IBoutlet links are gone, along with the entire view. For a lot of cases, that renders this library unusable :-(

@benmathes
Copy link
Author

I might be able to work around this by overriding exitScreenOnChooseWithDuration, but that's not documented and I doubt you intended that.

@benmathes
Copy link
Author

Looks like you do have a hook to override the default onswipe behavior with MDCSwipeOptions.onChosen

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

No branches or pull requests

1 participant