-
Notifications
You must be signed in to change notification settings - Fork 179
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
Fix TouchEvent support #365
Conversation
For mobile devices without PointerEvent support
Think defaultProps is only used for ES6 classes
These don't have the relative coordinates movementY/X, so instead we use the motion-since-gesture start from HammerJS
Using HammerJS gesture data and keeping track of relative
@jonnor dragging nodes and pinch-zoom both work on iOS. Making edges also works, though is a pretty tricky to hit the small target. However, if I long-press a node, menu doesn't show up, and after that dragging and zooming is also dead |
Any exceptions? Any console output? Does this only happen when opening menu on a node, or also on the background or an edge? |
@jonnor (this is with |
Thats probably fixed by 72af77b |
@jonnor can verify fully working in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you release these fixes?
Affects iOS devices