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

draggable and gesturable div, behavior lock with inertia #1019

Open
vincentmgd opened this issue Nov 20, 2023 · 0 comments
Open

draggable and gesturable div, behavior lock with inertia #1019

vincentmgd opened this issue Nov 20, 2023 · 0 comments

Comments

@vincentmgd
Copy link

https://codepen.io/Vincent_mgd/pen/BaMrodL

Expected behavior

On touchscreen only
Be able to switch from draggable to gesturable behavior during inertia-induced animation.
When an object is moved with a finger, with inertia, we should be able to add a second finger and switch to gesturable to rotate/scale the object.

Actual behavior

On touchscreen only
When you stop moving a div with one finger (draggable), or add another finger between drag, inertia prevents gesturable manipulation (scale/rotate). You have to wait for the inertia animation to finish before you can manipulate the object in gesturable mode (width dual touch).

System configuration

interact.js version : 1.10.21 (and previous versions)
Chrome v119 and Firefox v119
Windows 11

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