Open ofekudi opened 4 months ago
Sorry for missing this issue.
I understand your point. The problem with the zoom is that it's harder to detect that the zoom gesture is complete compared to other gestures. This is due to the wheel event not having a start/end specific event.
I guess we could add some internal logic to only fire the onCropComplete
when the wheel event hasn't been received for a while. Basically debouncing it.
Describe the bug There are two main problems:
onCropComplete
is being called repeatedly while zooming - so they are being simultaneously calledTo Reproduce Steps to reproduce the behavior:
Expected behavior
Here's a sample of the logs while zooming in:
Thanks for your help! This package is super useful!