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

On release, panes should close (or not) based on the direction of the drag, and not just on the position of the release. #7

Open
dannybrian opened this issue Jan 7, 2014 · 1 comment
Labels

Comments

@dannybrian
Copy link
Owner

No description provided.

@dannybrian
Copy link
Owner Author

If you drag a pane and release it, what happens (whether it retreats to an open or closed position) depends on position only, and not on the position of the drag.

This is actually pretty difficult with the current dependency on Hammer.js, since on release the direction of a swipe is calculated over the lifetime of the drag event, rather than the direction immediately before release.

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

No branches or pull requests

1 participant