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

Pinch-resize a container when both fingers touch different elements #1138

Open
jri opened this issue Nov 21, 2024 · 0 comments
Open

Pinch-resize a container when both fingers touch different elements #1138

jri opened this issue Nov 21, 2024 · 0 comments

Comments

@jri
Copy link

jri commented Nov 21, 2024

Environments

Description

I want to pinch-resize a container element which has child elements in it, no matter where both fingers touch. Pinching works when both fingers touch the container element. But it does not work when one finger touches the container and the other a child element, pinching is not initiated. I'd assume that the touch events bubble up to container and initiate the pinch.

How can I solve it?

The provided codepen is very minimal: it just creates a Moveable with the container element as the target.

grafik

Thank you for excellent 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

No branches or pull requests

1 participant