-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pointer events attach to canvas, not item #3
Comments
I think it would be not that much pain to implement it. But I think it would mess up the core logic if we would implement it on the same level as the existing logic. If I understood the requirement correctly, we could just make an option that makes the entire component |
I think Thanks for the suggestion, I'm going to try this out. The case I'm describing currently uses Panzoom, and I'd love to switch to zoompinch for the amazing mathematically correct pinch projection. The only potential glitch might be if pointer events are momentarily seen as outside the child during pinch, but TBC! |
To update, the Also just as feedback, some things I noted that could be nice additions:
Anyway those are just quick thoughts from my use case. Excellent library, it really feels like native pinch zooms! |
Hi, this is an amazing library, thanks for creating and sharing it.
As a feature request, could an option be added so events attach to the item being transformed, rather than their containing canvas element?
The use case I have in mind is displaying multiple items in the same canvas where they can be composed next to each other, and being able to zoom and move each based on events over the bounds of each item.
I think this use case may require a second feature request actually, though I've not been able to confirm this in testing — that multiple items could share the same canvas element (so all items can receive pointer events and not be blocked by the frontmost canvas).
Thanks and keep up the great work! This performs amazingly in the browser.
The text was updated successfully, but these errors were encountered: