Skip to content
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

Make FlingHandler use velocity as the activation metric. #2796

Merged
merged 30 commits into from
Mar 15, 2024

Conversation

latekvo
Copy link
Contributor

@latekvo latekvo commented Mar 8, 2024

Description

Fixed fling component handler to activate based on fling velocity instead of fling distance.
The fling also no longer has to be performed from start to finish entirely within the component's bounds.
This feature was tested on both emulated and live android phones.

Test plan

  • clone this branch
  • run yarn
  • go to example
  • copy fling example from the docs into the example/src/empty/EmptyExample.tsx file

Web

  • run yarn start

Android

  • go to example/android
  • run yarn start

IOS

  • IOS remains unchanged, it already implements this mechanism in a different way.

Reference

Screen.Recording.2024-03-08.at.14.42.42.mov

Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! 😄

There are some things that we should change. Since both implementations are identical, I've left comments with explanations only in .ts files.

The fling also no longer has to be performed from start to finish entirely within the component's bounds.

I'm not sure if that's what we actually want 😅 Handlers have property called shouldCancelWhenOutside, so behavior of moving out of the component's bounds should match this property, cc @j-piasecki.

Also please change name of this PR and in Web section you can change yarn start to yarn web

@j-piasecki
Copy link
Member

I'm not sure if that's what we actually want 😅 Handlers have property called shouldCancelWhenOutside, so behavior of moving out of the component's bounds should match this property

I haven't looked at the code yet, but is there a reason why we cannot have both behaviors depending on shouldCancelWhenOutside?

If we can only choose one behavior I'd argue that, especially in the case of fling, having it not cancel when moving outside the view would be more desirable but having both would be great.

Copy link
Member

@j-piasecki j-piasecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soon...
image

Most of what I wrote also applies to the web version, but I didn't want to copy&paste it.

Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This time I won't leave comments on android side because implementations are identical.

src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
- changed to static and getter where possible
- removed Direction from constants.ts
- applied other review suggestions
Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Left some comments, this time only cosmetic things 😄

src/web/tools/Vector.ts Outdated Show resolved Hide resolved
src/web/tools/Vector.ts Outdated Show resolved Hide resolved
src/web/tools/Vector.ts Outdated Show resolved Hide resolved
src/web/tools/Vector.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
src/web/handlers/FlingGestureHandler.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks much better now! Please change name of this PR and make sure that CI passes 😄

src/web/tools/Vector.ts Outdated Show resolved Hide resolved
@latekvo latekvo changed the title @latekvo/fix_fling Make FlingHandler use velocity as the activation metric. Mar 13, 2024
@latekvo
Copy link
Contributor Author

latekvo commented Mar 14, 2024

Give me one minute, i forgot to rewrite the JS vector as well.

Copy link
Member

@j-piasecki j-piasecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, besides the little thing with VelocityTracker!

I have one more thing: right now the the vectors are considered aligned when the angle between them is less than ~41 degrees. It works great, but when setting the direction of UP | RIGHT (or any other 2 adjacent directions) it leaves a cone of ~18 degrees where the gesture doesn't activate. I think we can change the DEFAULT_MIN_DIRECTION_ALIGNMENT to 0.707 which would mean considering two vectors aligned when the angle between them is less than 45.008 degrees, so there would not be a no-gesture-recognized cone in-between. What do you think?

Ideally, we would want to reduce the cone for a particular direction to like 60-45 deg and expand them when 2 adjacent directions are set. We may also consider going in the direction of iOS, which does a weird thing of rotating the cone (I think? cc. @m-bert) when adjacent directions are set. That's something up for discussion though, and definitely for another PR.

@latekvo
Copy link
Contributor Author

latekvo commented Mar 15, 2024

Looks good, besides the little thing with VelocityTracker!

I have one more thing: right now the the vectors are considered aligned when the angle between them is less than ~41 degrees. It works great, but when setting the direction of UP | RIGHT (or any other 2 adjacent directions) it leaves a cone of ~18 degrees where the gesture doesn't activate. I think we can change the DEFAULT_MIN_DIRECTION_ALIGNMENT to 0.707 which would mean considering two vectors aligned when the angle between them is less than 45.008 degrees, so there would not be a no-gesture-recognized cone in-between. What do you think?

Ideally, we would want to reduce the cone for a particular direction to like 60-45 deg and expand them when 2 adjacent directions are set. We may also consider going in the direction of iOS, which does a weird thing of rotating the cone (I think? cc. m-bert) when adjacent directions are set. That's something up for discussion though, and definitely for another PR.

I believe when user enables more than 1 direction, it is very likely they intend them to serve separate functions.
We're still waiting for @m-bert 's opinion, and his approve on changes.

@m-bert
Copy link
Contributor

m-bert commented Mar 15, 2024

I don't think that trying to mimic iOS behavior is a good idea. We will have some cross-platform inconsistency, but still we will achieve something what I believe can be called "expected behavior" on web and android.

I think we can change the DEFAULT_MIN_DIRECTION_ALIGNMENT to 0.707 which would mean considering two vectors aligned when the angle between them is less than 45.008 degrees, so there would not be a no-gesture-recognized cone in-between.

I agree with that 👍

Ideally, we would want to reduce the cone for a particular direction to like 60-45 deg and expand them when 2 adjacent directions are set.

If we consider expanding the cone, 45 deg sounds a bit too much for me. In that case I would set it to ~30 deg for one direction and expand it when we set adjacent directions. We can discuss it next time though.

@latekvo
Copy link
Contributor Author

latekvo commented Mar 15, 2024

Alright, I'm increasing the constant to 0.86 (30 deg), and adding angle expansion for adjacent enabled directions.
(we're moving this issue to a different PR)

Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😄 I've left one last comment, but overall it looks fine. Thanks for your hard work ❤️

@j-piasecki, I'd like to know your opinion about magnitude getter before we merge it 😄

src/web/tools/Vector.ts Outdated Show resolved Hide resolved
@m-bert
Copy link
Contributor

m-bert commented Mar 15, 2024

:shipit::shipit::shipit:

@latekvo latekvo merged commit 3904238 into main Mar 15, 2024
4 checks passed
@latekvo latekvo deleted the @latekvo/fix_fling branch March 15, 2024 10:48
m-bert added a commit that referenced this pull request Mar 28, 2024
## Description

#2796 has been released 🎉  That means we should bump Gesture Handler version in docs to make `Fling` example work better.

## Test plan

Run docs
github-merge-queue bot referenced this pull request in valora-inc/wallet Apr 13, 2024
…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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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]>
github-merge-queue bot referenced this pull request in valora-inc/wallet Apr 13, 2024
…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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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]>
shottah referenced this pull request in zed-io/kolektivo May 15, 2024
…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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants