-
-
Notifications
You must be signed in to change notification settings - Fork 984
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
2 fingers tap #146
Labels
Comments
@ptaranto |
kmagiera
pushed a commit
that referenced
this issue
May 7, 2018
## Motivation https://github.com/brentvatne/bottom-sheet-gesture-handler-experiment Got inspired by @brentvatne code and made it possibile to implement bottom sheet in a bit hacky way using very long TapHandler. The problem was to to trigger scrolling scrollview at the end of extending a main card and not to trigger it when card is not opened fully. Also then it became extremely easy to resolve another issue: #146 ## Changes Initially I was trying to made it possible to track route (and maxDeltas) using 'normal' TapGestureHandler. Then I decided to implement new `TapGestureHandler` as quite unobvious extension of `UIPanGestureRecognizer` which gives us many ways of parameterization. However, I wasn't really into extending out `PanGestureHandler` which seems to be unnecessary. It gives a possibility to fail gesture whet its position pass `maxDeltaY` and then it allows scroll gesture to be triggered then. If it won't fail, scroll won't be scrolled.
done :), @ptaranto |
@osdnk , Thanks. |
@osdnk , I'm not being able to detect 2 fingers on just one tap, can you provide any guidance on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to implement/detect a tap with 2 fingers?
The text was updated successfully, but these errors were encountered: