zingtouch
zingtouch copied to clipboard
Pan doesn't emit events when I drag outside of the window
Let's say I start dragging something inside the window, but then I move my mouse outside the window it stops the pan event.
Hammerjs for example still emits new events even if the mouse is outside of the window.
Interesting. I'm still new to the codebase here, but this seems like an oversight. This will be because hammerjs adds some event listeners to the window. It might be smart to do something similar here. My instinct was to say that you could work around this by using the window as your Region, but that won't work because ZingTouch currently assumes that the Region will be an Element, so trying it will throw exceptions. This should be fixed.
yeah, thanks