-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
Add pointerType
to event
#2760
Add pointerType
to event
#2760
Conversation
Can you support other point data? For example, pressure. |
Hi @NiuGuohui! We do have plans to do that in the future, but unfortunately it won't be implemented in this PR. |
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.
Some minor comments, as everything else seems to be allright.
@@ -378,6 +380,11 @@ open class GestureHandler<ConcreteGestureHandlerT : GestureHandler<ConcreteGestu | |||
lastAbsolutePositionY = GestureUtils.getLastPointerY(adaptedTransformedEvent, true) | |||
lastEventOffsetX = adaptedTransformedEvent.rawX - adaptedTransformedEvent.x | |||
lastEventOffsetY = adaptedTransformedEvent.rawY - adaptedTransformedEvent.y | |||
|
|||
if (sourceEvent.action == MotionEvent.ACTION_DOWN || sourceEvent.action == MotionEvent.ACTION_HOVER_ENTER || sourceEvent.action == MotionEvent.ACTION_HOVER_MOVE) { |
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.
(just for clarification) I assume there is no need to set type of pointer on MotionEvent.ACTION_HOVER_EXIT
right?
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.
Yes, I don't think we need to set that on exit. The main idea was to set this variable when gesture receives first event (inside onPointerDown
on web, touchesBegan
on iOS, etc.).
Now I see that in NativeViewGestureHandler
on iOS i call setCurrentPointerType
also on TouchUp
methods. I will check if it is necessary.
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.
As I said, I've tested that and it seems that we don't need most of those calls. I removed them in ab677e2. I've left one in handleDragEnter
since I'm not sure when this method is called. If you know how to test it let me know, I'll be grateful, cc @j-piasecki.
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.
handleDragEnter
should be called when pointer moves into the view boundary without touching down. I'm not sure whether it requires to start drag inside the view (touch the view -> drag outside -> drag back inside) or not (touch outside the view -> drag into the view)
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.
Okay, I've just checked that and it does require to start drag inside of view. Given that, I removed the line that sets pointerType
inside that function in 77ab5ce.
Also one more thing (according to our last week talk). It seems that it's possible to have other pointer types than just mouse on macOS, but we didn't manage to get any of them in our case. Maybe it would be possible if we implement methods like |
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.
LGTM, if all of @jfedak comments are addressed
…5237) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-native-gesture-handler](https://togithub.com/software-mansion/react-native-gesture-handler) | [`^2.15.0` -> `^2.16.0`](https://renovatebot.com/diffs/npm/react-native-gesture-handler/2.15.0/2.16.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>software-mansion/react-native-gesture-handler (react-native-gesture-handler)</summary> ### [`v2.16.0`](https://togithub.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0) [Compare Source](https://togithub.com/software-mansion/react-native-gesture-handler/compare/2.15.0...2.16.0) #### ❗ Important changes - Add `mouseButton` implementation on Android by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2680](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2680) - Add `pointerType` to event by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2760](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2760) - feat: add necessary changes for new arch on RN 0.74 by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2766](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2766) - Add `touchAction` prop. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2787](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2787) - Allows to apply different border radius to RectButton component by [@​camilossantos2809](https://togithub.com/camilossantos2809) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2792) - Improve RectButton border styles on Android by [@​camilossantos2809](https://togithub.com/camilossantos2809) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2798](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2798) - Make FlingHandler use velocity as the activation metric. by [@​LatekVo](https://togithub.com/LatekVo) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2796) - Add corner area detection to Fling gesture. by [@​LatekVo](https://togithub.com/LatekVo) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2807](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2807) #### 🐛 Bug fixes - Add rotation and pinch velocity on macOS by [@​jfedak](https://togithub.com/jfedak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2706](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2706) - Fix `ConcurrentModificationException`. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2750](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2750) - Fix pointers count on iOS by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2755](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2755) - fix: remove usage of bridge uimanager in one more place by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2768](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2768) - Remove hardcoded version of `cocoapods` by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2772](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2772) - Move `customDirectEventTypes` to separate files. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2786](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2786) - Fix nested taps activation by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2759](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2759) - Cancel handlers by `NativeViewGestureHandler` by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2788](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2788) - Make simultaneous handlers always symmetric on iOS by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2800](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2800) - Update mocks to work when testing for the new arch by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2801](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2801) - fix(web): After swiping closed, the Swipeable component cannot be swiped open again by [@​yatessss](https://togithub.com/yatessss) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2802) - Remove event listeners on handler drop by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2815](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2815) - Use correct origin point for calculating the absolute position on Android by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2826](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2826) - Add check when removing handlers from orchestrator by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2831](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2831) - Use `locationOfTouch:inView` over `locationInView` for focal point by [@​rrebase](https://togithub.com/rrebase) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2834) #### 👍 Improvements - Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2757](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2757) - Stop sending event on pressure changes by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2762](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2762) - feat: use proper APIs for newest RN versions on new arch by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2767](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2767) - Remove circular dependencies on web by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2783](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2783) - Address compilation warnings by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2597](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2597) - Add `userSelect` to TouchableOpacity by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2812](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2812) - Web `Orchestrator` refactor. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2819](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2819) - Replace `mach_absolute_time` with `CACurrentMediaTime` by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2830](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2830) #### 🔢 Miscellaneous - Restyle Gesture Handler Documentation by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2753) - Fix incorrect link to Github repository by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2761](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2761) - Add links to each gesture on landing in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2763](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2763) - Update pods on CI by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2765](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2765) - Restyle steps in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2774](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2774) - Fix wrong admonition color on initial render by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2779](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2779) - Various style fixes in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2780](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2780) - Add closable App.js banner to docs landing page by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2781](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2781) - Add `mouseButton` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2789](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2789) - Add `pointerType` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2791](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2791) - Add `enableContextMenu` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2790](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2790) - Add `touchAction` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2794](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2794) - docs: change accent color to blue by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2795](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2795) - Change `MouseButton` export type. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2804](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2804) - Fix babel config in the root project by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2717](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2717) #### New Contributors - [@​patrycjakalinska](https://togithub.com/patrycjakalinska) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2753) - [@​camilossantos2809](https://togithub.com/camilossantos2809) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2792) - [@​yatessss](https://togithub.com/yatessss) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2802) - [@​LatekVo](https://togithub.com/LatekVo) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2796) - [@​rrebase](https://togithub.com/rrebase) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2834) **Full Changelog**: software-mansion/react-native-gesture-handler@2.15.0...2.16.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: valora-bot <[email protected]>
…5237) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-native-gesture-handler](https://togithub.com/software-mansion/react-native-gesture-handler) | [`^2.15.0` -> `^2.16.0`](https://renovatebot.com/diffs/npm/react-native-gesture-handler/2.15.0/2.16.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>software-mansion/react-native-gesture-handler (react-native-gesture-handler)</summary> ### [`v2.16.0`](https://togithub.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0) [Compare Source](https://togithub.com/software-mansion/react-native-gesture-handler/compare/2.15.0...2.16.0) #### ❗ Important changes - Add `mouseButton` implementation on Android by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2680](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2680) - Add `pointerType` to event by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2760](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2760) - feat: add necessary changes for new arch on RN 0.74 by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2766](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2766) - Add `touchAction` prop. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2787](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2787) - Allows to apply different border radius to RectButton component by [@​camilossantos2809](https://togithub.com/camilossantos2809) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2792) - Improve RectButton border styles on Android by [@​camilossantos2809](https://togithub.com/camilossantos2809) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2798](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2798) - Make FlingHandler use velocity as the activation metric. by [@​LatekVo](https://togithub.com/LatekVo) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2796) - Add corner area detection to Fling gesture. by [@​LatekVo](https://togithub.com/LatekVo) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2807](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2807) #### 🐛 Bug fixes - Add rotation and pinch velocity on macOS by [@​jfedak](https://togithub.com/jfedak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2706](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2706) - Fix `ConcurrentModificationException`. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2750](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2750) - Fix pointers count on iOS by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2755](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2755) - fix: remove usage of bridge uimanager in one more place by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2768](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2768) - Remove hardcoded version of `cocoapods` by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2772](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2772) - Move `customDirectEventTypes` to separate files. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2786](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2786) - Fix nested taps activation by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2759](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2759) - Cancel handlers by `NativeViewGestureHandler` by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2788](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2788) - Make simultaneous handlers always symmetric on iOS by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2800](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2800) - Update mocks to work when testing for the new arch by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2801](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2801) - fix(web): After swiping closed, the Swipeable component cannot be swiped open again by [@​yatessss](https://togithub.com/yatessss) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2802) - Remove event listeners on handler drop by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2815](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2815) - Use correct origin point for calculating the absolute position on Android by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2826](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2826) - Add check when removing handlers from orchestrator by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2831](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2831) - Use `locationOfTouch:inView` over `locationInView` for focal point by [@​rrebase](https://togithub.com/rrebase) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2834) #### 👍 Improvements - Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2757](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2757) - Stop sending event on pressure changes by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2762](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2762) - feat: use proper APIs for newest RN versions on new arch by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2767](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2767) - Remove circular dependencies on web by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2783](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2783) - Address compilation warnings by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2597](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2597) - Add `userSelect` to TouchableOpacity by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2812](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2812) - Web `Orchestrator` refactor. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2819](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2819) - Replace `mach_absolute_time` with `CACurrentMediaTime` by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2830](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2830) #### 🔢 Miscellaneous - Restyle Gesture Handler Documentation by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2753) - Fix incorrect link to Github repository by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2761](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2761) - Add links to each gesture on landing in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2763](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2763) - Update pods on CI by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2765](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2765) - Restyle steps in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2774](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2774) - Fix wrong admonition color on initial render by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2779](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2779) - Various style fixes in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2780](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2780) - Add closable App.js banner to docs landing page by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2781](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2781) - Add `mouseButton` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2789](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2789) - Add `pointerType` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2791](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2791) - Add `enableContextMenu` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2790](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2790) - Add `touchAction` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2794](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2794) - docs: change accent color to blue by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2795](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2795) - Change `MouseButton` export type. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2804](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2804) - Fix babel config in the root project by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2717](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2717) #### New Contributors - [@​patrycjakalinska](https://togithub.com/patrycjakalinska) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2753) - [@​camilossantos2809](https://togithub.com/camilossantos2809) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2792) - [@​yatessss](https://togithub.com/yatessss) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2802) - [@​LatekVo](https://togithub.com/LatekVo) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2796) - [@​rrebase](https://togithub.com/rrebase) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2834) **Full Changelog**: software-mansion/react-native-gesture-handler@2.15.0...2.16.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: valora-bot <[email protected]>
…alora-inc#5237) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-native-gesture-handler](https://togithub.com/software-mansion/react-native-gesture-handler) | [`^2.15.0` -> `^2.16.0`](https://renovatebot.com/diffs/npm/react-native-gesture-handler/2.15.0/2.16.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>software-mansion/react-native-gesture-handler (react-native-gesture-handler)</summary> ### [`v2.16.0`](https://togithub.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0) [Compare Source](https://togithub.com/software-mansion/react-native-gesture-handler/compare/2.15.0...2.16.0) #### ❗ Important changes - Add `mouseButton` implementation on Android by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2680](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2680) - Add `pointerType` to event by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2760](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2760) - feat: add necessary changes for new arch on RN 0.74 by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2766](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2766) - Add `touchAction` prop. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2787](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2787) - Allows to apply different border radius to RectButton component by [@​camilossantos2809](https://togithub.com/camilossantos2809) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2792) - Improve RectButton border styles on Android by [@​camilossantos2809](https://togithub.com/camilossantos2809) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2798](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2798) - Make FlingHandler use velocity as the activation metric. by [@​LatekVo](https://togithub.com/LatekVo) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2796) - Add corner area detection to Fling gesture. by [@​LatekVo](https://togithub.com/LatekVo) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2807](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2807) #### 🐛 Bug fixes - Add rotation and pinch velocity on macOS by [@​jfedak](https://togithub.com/jfedak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2706](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2706) - Fix `ConcurrentModificationException`. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2750](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2750) - Fix pointers count on iOS by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2755](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2755) - fix: remove usage of bridge uimanager in one more place by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2768](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2768) - Remove hardcoded version of `cocoapods` by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2772](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2772) - Move `customDirectEventTypes` to separate files. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2786](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2786) - Fix nested taps activation by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2759](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2759) - Cancel handlers by `NativeViewGestureHandler` by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2788](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2788) - Make simultaneous handlers always symmetric on iOS by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2800](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2800) - Update mocks to work when testing for the new arch by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2801](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2801) - fix(web): After swiping closed, the Swipeable component cannot be swiped open again by [@​yatessss](https://togithub.com/yatessss) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2802) - Remove event listeners on handler drop by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2815](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2815) - Use correct origin point for calculating the absolute position on Android by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2826](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2826) - Add check when removing handlers from orchestrator by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2831](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2831) - Use `locationOfTouch:inView` over `locationInView` for focal point by [@​rrebase](https://togithub.com/rrebase) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2834) #### 👍 Improvements - Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2757](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2757) - Stop sending event on pressure changes by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2762](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2762) - feat: use proper APIs for newest RN versions on new arch by [@​WoLewicki](https://togithub.com/WoLewicki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2767](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2767) - Remove circular dependencies on web by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2783](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2783) - Address compilation warnings by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2597](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2597) - Add `userSelect` to TouchableOpacity by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2812](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2812) - Web `Orchestrator` refactor. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2819](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2819) - Replace `mach_absolute_time` with `CACurrentMediaTime` by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2830](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2830) #### 🔢 Miscellaneous - Restyle Gesture Handler Documentation by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2753) - Fix incorrect link to Github repository by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2761](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2761) - Add links to each gesture on landing in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2763](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2763) - Update pods on CI by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2765](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2765) - Restyle steps in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2774](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2774) - Fix wrong admonition color on initial render by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2779](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2779) - Various style fixes in docs by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2780](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2780) - Add closable App.js banner to docs landing page by [@​patrycjakalinska](https://togithub.com/patrycjakalinska) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2781](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2781) - Add `mouseButton` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2789](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2789) - Add `pointerType` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2791](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2791) - Add `enableContextMenu` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2790](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2790) - Add `touchAction` description to docs. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2794](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2794) - docs: change accent color to blue by [@​kacperkapusciak](https://togithub.com/kacperkapusciak) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2795](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2795) - Change `MouseButton` export type. by [@​m-bert](https://togithub.com/m-bert) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2804](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2804) - Fix babel config in the root project by [@​j-piasecki](https://togithub.com/j-piasecki) in [https://github.com/software-mansion/react-native-gesture-handler/pull/2717](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2717) #### New Contributors - [@​patrycjakalinska](https://togithub.com/patrycjakalinska) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2753) - [@​camilossantos2809](https://togithub.com/camilossantos2809) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2792) - [@​yatessss](https://togithub.com/yatessss) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2802) - [@​LatekVo](https://togithub.com/LatekVo) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2796) - [@​rrebase](https://togithub.com/rrebase) made their first contribution in [https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://togithub.com/software-mansion/react-native-gesture-handler/pull/2834) **Full Changelog**: software-mansion/react-native-gesture-handler@2.15.0...2.16.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/valora-inc/wallet). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: valora-bot <[email protected]>
Description
This PR adds
pointerType
field to event in callbacks so that users can distinguish which pointer is used (for examplefinger
orstylus
).Test plan
Tested on example app ("PointerType" example).