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

Fix ConcurrentModificationException. #2750

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

m-bert
Copy link
Contributor

@m-bert m-bert commented Feb 7, 2024

Description

A while ago we decided to remove limit of gesture handlers on android (#2672). We missed one thing - awaitngHandlers can be modified while iterating over its items (inside this loop). This resulted in ConcurrentModificationException.

This PR changes logic so that now we iterate over copy of awaitingHandlers, avoiding modification of collection that we iterate through.

Even though it looks like it changes a lot, the only difference beside adding copy is changing

for(otherHandler in currentlyAwaitingHandlers){
    if (shouldHandlerWaitForOther(otherHandler, handler)) {
        ...
    }
}

into

for(otherHandler in currentlyAwaitingHandlers){
    if (!shouldHandlerWaitForOther(otherHandler, handler)) {
        continue
    }
    ...
}

to remove one level of nested ifs.

Test plan

Modified code from #2739
import React from 'react';
import { ScrollView, StyleSheet, Text, View } from 'react-native';
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
import Animated from 'react-native-reanimated';

const Showcase = () => {
  const [lastActions, setLastActions] = React.useState([]);

  const addAction = (action) => {
    setLastActions((actions) => {
      const date = new Date();
      const time = date.toLocaleTimeString();

      if (actions.length >= 3) {
        actions.pop();
      }
      return [action + ': ' + time, ...actions];
    });
  };

  const longPressGesture = Gesture.LongPress()
    .onStart(() => {
      addAction('long press');
    })
    .runOnJS(true);

  const doubleTapGesture = Gesture.Tap()
    .numberOfTaps(2)
    .onStart(() => {
      addAction('double tap');
    })
    .runOnJS(true);

  const gesture = Gesture.Race(doubleTapGesture, longPressGesture);

  return (
    <View
      style={{
        flex: 1,
        backgroundColor: 'white',
        marginHorizontal: 20,
        marginVertical: 60,
      }}>
      <ScrollView contentContainerStyle={{ gap: 20 }}>
        <GestureDetector gesture={gesture}>
          <Animated.View style={styles.outer}>
            <Blue onAddAction={addAction} />
          </Animated.View>
        </GestureDetector>
        <View>
          {lastActions.map((action, index) => (
            <Text key={index}>
              {index} - {action}
            </Text>
          ))}
        </View>
        <View style={{ gap: 20 }}>
          <Text>
            <Bold>DoubleTap</Bold>: on all rectangles - should print "double
            tap" - no tap gesture should be recognized ✅
          </Text>
          <Text>
            <Bold>LongPress</Bold>: on all rectangles - should print "long
            press" - no tap gesture should be recognized ✅
          </Text>
          <Text>
            <Bold>Tap</Bold>: on red - should do nothing ✅
          </Text>
          <Text>
            <Bold>Tap</Bold>: on blue - should print "Blue: tap" ✅
          </Text>
          <Text>
            <Bold>Tap</Bold>: on orange - should print "Orange: tap" ⛔️ -
            Crashes on Android
          </Text>
        </View>
      </ScrollView>
    </View>
  );
};

export default Showcase;

const Blue = ({ onAddAction }) => {
  const tapGesture = Gesture.Tap()
    .onStart(() => {
      onAddAction('Blue: tap');
    })
    .runOnJS(true);
  const doubleTapGesture = Gesture.Tap()
    .numberOfTaps(2)
    .onStart(() => {
      onAddAction('double tap');
    })
    .runOnJS(true);

  const composedGesture = Gesture.Exclusive(doubleTapGesture, tapGesture);

  return (
    <GestureDetector gesture={composedGesture}>
      <Animated.View style={styles.blue}>
        <Orange onAddAction={onAddAction} />
      </Animated.View>
    </GestureDetector>
  );
};

const Orange = ({ onAddAction }) => {
  const tapGesture = Gesture.Tap()
    .onStart(() => {
      onAddAction('Orange: tap');
    })
    .runOnJS(true);

  const doubleTapGesture = Gesture.Tap()
    .numberOfTaps(2)
    .onStart(() => {
      onAddAction('double tap');
    })
    .runOnJS(true);

  return (
    <GestureDetector gesture={Gesture.Exclusive(doubleTapGesture, tapGesture)}>
      <Animated.View style={styles.orange}></Animated.View>
    </GestureDetector>
  );
};

const Bold = ({ children }) => {
  return <Text style={{ fontWeight: 'bold' }}>{children}</Text>;
};

const styles = StyleSheet.create({
  outer: {
    padding: 20,
    backgroundColor: 'red',
    width: 300,
    height: 200,
  },
  blue: {
    width: '80%',
    height: '80%',
    backgroundColor: 'blue',
    flexDirection: 'row',
    flexWrap: 'wrap',
  },
  orange: {
    margin: 5,
    width: '50%',
    height: '50%',
    backgroundColor: 'orange',
  },
});
Smaller example
import React from 'react';
import { StyleSheet, View } from 'react-native';
import { Gesture, GestureDetector } from 'react-native-gesture-handler';

export default function App() {
  const t3 = Gesture.Tap()
    .numberOfTaps(3)
    .onEnd(() => console.log('t3'));
  const t1_1 = Gesture.Tap().onEnd(() => console.log('t1_1'));
  const t1_2 = Gesture.Tap().onEnd(() => console.log('t1_2'));

  const g = Gesture.Exclusive(t3, t1_1, t1_2);

  return (
    <GestureDetector gesture={g}>
      <View style={styles.box} />
    </GestureDetector>
  );
}

const styles = StyleSheet.create({
  box: {
    width: 250,
    height: 250,
    backgroundColor: 'crimson',
  },
});

@m-bert m-bert merged commit 1f4e47b into main Feb 9, 2024
3 checks passed
@m-bert m-bert deleted the @mbert/fix-concurrent-crash branch February 9, 2024 11:56
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://github.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://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0)

[Compare
Source](https://github.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://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2680](https://github.com/software-mansion/react-native-gesture-handler/pull/2680)
- Add `pointerType` to event by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2760](https://github.com/software-mansion/react-native-gesture-handler/pull/2760)
- feat: add necessary changes for new arch on RN 0.74 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2766](https://github.com/software-mansion/react-native-gesture-handler/pull/2766)
- Add `touchAction` prop. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2787](https://github.com/software-mansion/react-native-gesture-handler/pull/2787)
- Allows to apply different border radius to RectButton component by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://github.com/software-mansion/react-native-gesture-handler/pull/2792)
- Improve RectButton border styles on Android by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2798](https://github.com/software-mansion/react-native-gesture-handler/pull/2798)
- Make FlingHandler use velocity as the activation metric. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://github.com/software-mansion/react-native-gesture-handler/pull/2796)
- Add corner area detection to Fling gesture. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2807](https://github.com/software-mansion/react-native-gesture-handler/pull/2807)

#### 🐛 Bug fixes

- Add rotation and pinch velocity on macOS by
[@&#8203;jfedak](https://github.com/jfedak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2706](https://github.com/software-mansion/react-native-gesture-handler/pull/2706)
- Fix `ConcurrentModificationException`. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2750](https://github.com/software-mansion/react-native-gesture-handler/pull/2750)
- Fix pointers count on iOS by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2755](https://github.com/software-mansion/react-native-gesture-handler/pull/2755)
- fix: remove usage of bridge uimanager in one more place by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2768](https://github.com/software-mansion/react-native-gesture-handler/pull/2768)
- Remove hardcoded version of `cocoapods` by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2772](https://github.com/software-mansion/react-native-gesture-handler/pull/2772)
- Move `customDirectEventTypes` to separate files. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2786](https://github.com/software-mansion/react-native-gesture-handler/pull/2786)
- Fix nested taps activation by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2759](https://github.com/software-mansion/react-native-gesture-handler/pull/2759)
- Cancel handlers by `NativeViewGestureHandler` by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2788](https://github.com/software-mansion/react-native-gesture-handler/pull/2788)
- Make simultaneous handlers always symmetric on iOS by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2800](https://github.com/software-mansion/react-native-gesture-handler/pull/2800)
- Update mocks to work when testing for the new arch by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2801](https://github.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://github.com/yatessss)
in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://github.com/software-mansion/react-native-gesture-handler/pull/2802)
- Remove event listeners on handler drop by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2815](https://github.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://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2826](https://github.com/software-mansion/react-native-gesture-handler/pull/2826)
- Add check when removing handlers from orchestrator by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2831](https://github.com/software-mansion/react-native-gesture-handler/pull/2831)
- Use `locationOfTouch:inView` over `locationInView` for focal point by
[@&#8203;rrebase](https://github.com/rrebase) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://github.com/software-mansion/react-native-gesture-handler/pull/2834)

#### 👍 Improvements

- Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2757](https://github.com/software-mansion/react-native-gesture-handler/pull/2757)
- Stop sending event on pressure changes by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2762](https://github.com/software-mansion/react-native-gesture-handler/pull/2762)
- feat: use proper APIs for newest RN versions on new arch by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2767](https://github.com/software-mansion/react-native-gesture-handler/pull/2767)
- Remove circular dependencies on web by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2783](https://github.com/software-mansion/react-native-gesture-handler/pull/2783)
- Address compilation warnings by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2597](https://github.com/software-mansion/react-native-gesture-handler/pull/2597)
- Add `userSelect` to TouchableOpacity by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2812](https://github.com/software-mansion/react-native-gesture-handler/pull/2812)
- Web `Orchestrator` refactor. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2819](https://github.com/software-mansion/react-native-gesture-handler/pull/2819)
- Replace `mach_absolute_time` with `CACurrentMediaTime` by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2830](https://github.com/software-mansion/react-native-gesture-handler/pull/2830)

#### 🔢 Miscellaneous

- Restyle Gesture Handler Documentation by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://github.com/software-mansion/react-native-gesture-handler/pull/2753)
- Fix incorrect link to Github repository by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2761](https://github.com/software-mansion/react-native-gesture-handler/pull/2761)
- Add links to each gesture on landing in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2763](https://github.com/software-mansion/react-native-gesture-handler/pull/2763)
- Update pods on CI by [@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2765](https://github.com/software-mansion/react-native-gesture-handler/pull/2765)
- Restyle steps in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2774](https://github.com/software-mansion/react-native-gesture-handler/pull/2774)
- Fix wrong admonition color on initial render by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2779](https://github.com/software-mansion/react-native-gesture-handler/pull/2779)
- Various style fixes in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2780](https://github.com/software-mansion/react-native-gesture-handler/pull/2780)
- Add closable App.js banner to docs landing page by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2781](https://github.com/software-mansion/react-native-gesture-handler/pull/2781)
- Add `mouseButton` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2789](https://github.com/software-mansion/react-native-gesture-handler/pull/2789)
- Add `pointerType` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2791](https://github.com/software-mansion/react-native-gesture-handler/pull/2791)
- Add `enableContextMenu` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2790](https://github.com/software-mansion/react-native-gesture-handler/pull/2790)
- Add `touchAction` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2794](https://github.com/software-mansion/react-native-gesture-handler/pull/2794)
- docs: change accent color to blue by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2795](https://github.com/software-mansion/react-native-gesture-handler/pull/2795)
- Change `MouseButton` export type. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2804](https://github.com/software-mansion/react-native-gesture-handler/pull/2804)
- Fix babel config in the root project by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2717](https://github.com/software-mansion/react-native-gesture-handler/pull/2717)

#### New Contributors

- [@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) made
their first contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://github.com/software-mansion/react-native-gesture-handler/pull/2753)
- [@&#8203;camilossantos2809](https://github.com/camilossantos2809)
made their first contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://github.com/software-mansion/react-native-gesture-handler/pull/2792)
- [@&#8203;yatessss](https://github.com/yatessss) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://github.com/software-mansion/react-native-gesture-handler/pull/2802)
- [@&#8203;LatekVo](https://github.com/LatekVo) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://github.com/software-mansion/react-native-gesture-handler/pull/2796)
- [@&#8203;rrebase](https://github.com/rrebase) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://github.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 <valorabot@valoraapp.com>
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://github.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://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0)

[Compare
Source](https://github.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://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2680](https://github.com/software-mansion/react-native-gesture-handler/pull/2680)
- Add `pointerType` to event by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2760](https://github.com/software-mansion/react-native-gesture-handler/pull/2760)
- feat: add necessary changes for new arch on RN 0.74 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2766](https://github.com/software-mansion/react-native-gesture-handler/pull/2766)
- Add `touchAction` prop. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2787](https://github.com/software-mansion/react-native-gesture-handler/pull/2787)
- Allows to apply different border radius to RectButton component by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://github.com/software-mansion/react-native-gesture-handler/pull/2792)
- Improve RectButton border styles on Android by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2798](https://github.com/software-mansion/react-native-gesture-handler/pull/2798)
- Make FlingHandler use velocity as the activation metric. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://github.com/software-mansion/react-native-gesture-handler/pull/2796)
- Add corner area detection to Fling gesture. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2807](https://github.com/software-mansion/react-native-gesture-handler/pull/2807)

#### 🐛 Bug fixes

- Add rotation and pinch velocity on macOS by
[@&#8203;jfedak](https://github.com/jfedak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2706](https://github.com/software-mansion/react-native-gesture-handler/pull/2706)
- Fix `ConcurrentModificationException`. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2750](https://github.com/software-mansion/react-native-gesture-handler/pull/2750)
- Fix pointers count on iOS by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2755](https://github.com/software-mansion/react-native-gesture-handler/pull/2755)
- fix: remove usage of bridge uimanager in one more place by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2768](https://github.com/software-mansion/react-native-gesture-handler/pull/2768)
- Remove hardcoded version of `cocoapods` by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2772](https://github.com/software-mansion/react-native-gesture-handler/pull/2772)
- Move `customDirectEventTypes` to separate files. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2786](https://github.com/software-mansion/react-native-gesture-handler/pull/2786)
- Fix nested taps activation by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2759](https://github.com/software-mansion/react-native-gesture-handler/pull/2759)
- Cancel handlers by `NativeViewGestureHandler` by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2788](https://github.com/software-mansion/react-native-gesture-handler/pull/2788)
- Make simultaneous handlers always symmetric on iOS by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2800](https://github.com/software-mansion/react-native-gesture-handler/pull/2800)
- Update mocks to work when testing for the new arch by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2801](https://github.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://github.com/yatessss)
in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://github.com/software-mansion/react-native-gesture-handler/pull/2802)
- Remove event listeners on handler drop by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2815](https://github.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://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2826](https://github.com/software-mansion/react-native-gesture-handler/pull/2826)
- Add check when removing handlers from orchestrator by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2831](https://github.com/software-mansion/react-native-gesture-handler/pull/2831)
- Use `locationOfTouch:inView` over `locationInView` for focal point by
[@&#8203;rrebase](https://github.com/rrebase) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://github.com/software-mansion/react-native-gesture-handler/pull/2834)

#### 👍 Improvements

- Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2757](https://github.com/software-mansion/react-native-gesture-handler/pull/2757)
- Stop sending event on pressure changes by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2762](https://github.com/software-mansion/react-native-gesture-handler/pull/2762)
- feat: use proper APIs for newest RN versions on new arch by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2767](https://github.com/software-mansion/react-native-gesture-handler/pull/2767)
- Remove circular dependencies on web by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2783](https://github.com/software-mansion/react-native-gesture-handler/pull/2783)
- Address compilation warnings by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2597](https://github.com/software-mansion/react-native-gesture-handler/pull/2597)
- Add `userSelect` to TouchableOpacity by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2812](https://github.com/software-mansion/react-native-gesture-handler/pull/2812)
- Web `Orchestrator` refactor. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2819](https://github.com/software-mansion/react-native-gesture-handler/pull/2819)
- Replace `mach_absolute_time` with `CACurrentMediaTime` by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2830](https://github.com/software-mansion/react-native-gesture-handler/pull/2830)

#### 🔢 Miscellaneous

- Restyle Gesture Handler Documentation by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://github.com/software-mansion/react-native-gesture-handler/pull/2753)
- Fix incorrect link to Github repository by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2761](https://github.com/software-mansion/react-native-gesture-handler/pull/2761)
- Add links to each gesture on landing in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2763](https://github.com/software-mansion/react-native-gesture-handler/pull/2763)
- Update pods on CI by [@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2765](https://github.com/software-mansion/react-native-gesture-handler/pull/2765)
- Restyle steps in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2774](https://github.com/software-mansion/react-native-gesture-handler/pull/2774)
- Fix wrong admonition color on initial render by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2779](https://github.com/software-mansion/react-native-gesture-handler/pull/2779)
- Various style fixes in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2780](https://github.com/software-mansion/react-native-gesture-handler/pull/2780)
- Add closable App.js banner to docs landing page by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2781](https://github.com/software-mansion/react-native-gesture-handler/pull/2781)
- Add `mouseButton` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2789](https://github.com/software-mansion/react-native-gesture-handler/pull/2789)
- Add `pointerType` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2791](https://github.com/software-mansion/react-native-gesture-handler/pull/2791)
- Add `enableContextMenu` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2790](https://github.com/software-mansion/react-native-gesture-handler/pull/2790)
- Add `touchAction` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2794](https://github.com/software-mansion/react-native-gesture-handler/pull/2794)
- docs: change accent color to blue by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2795](https://github.com/software-mansion/react-native-gesture-handler/pull/2795)
- Change `MouseButton` export type. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2804](https://github.com/software-mansion/react-native-gesture-handler/pull/2804)
- Fix babel config in the root project by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2717](https://github.com/software-mansion/react-native-gesture-handler/pull/2717)

#### New Contributors

- [@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) made
their first contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://github.com/software-mansion/react-native-gesture-handler/pull/2753)
- [@&#8203;camilossantos2809](https://github.com/camilossantos2809)
made their first contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://github.com/software-mansion/react-native-gesture-handler/pull/2792)
- [@&#8203;yatessss](https://github.com/yatessss) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://github.com/software-mansion/react-native-gesture-handler/pull/2802)
- [@&#8203;LatekVo](https://github.com/LatekVo) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://github.com/software-mansion/react-native-gesture-handler/pull/2796)
- [@&#8203;rrebase](https://github.com/rrebase) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://github.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 <valorabot@valoraapp.com>
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://github.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://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0)

[Compare
Source](https://github.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://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2680](https://github.com/software-mansion/react-native-gesture-handler/pull/2680)
- Add `pointerType` to event by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2760](https://github.com/software-mansion/react-native-gesture-handler/pull/2760)
- feat: add necessary changes for new arch on RN 0.74 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2766](https://github.com/software-mansion/react-native-gesture-handler/pull/2766)
- Add `touchAction` prop. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2787](https://github.com/software-mansion/react-native-gesture-handler/pull/2787)
- Allows to apply different border radius to RectButton component by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://github.com/software-mansion/react-native-gesture-handler/pull/2792)
- Improve RectButton border styles on Android by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2798](https://github.com/software-mansion/react-native-gesture-handler/pull/2798)
- Make FlingHandler use velocity as the activation metric. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://github.com/software-mansion/react-native-gesture-handler/pull/2796)
- Add corner area detection to Fling gesture. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2807](https://github.com/software-mansion/react-native-gesture-handler/pull/2807)

#### 🐛 Bug fixes

- Add rotation and pinch velocity on macOS by
[@&#8203;jfedak](https://github.com/jfedak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2706](https://github.com/software-mansion/react-native-gesture-handler/pull/2706)
- Fix `ConcurrentModificationException`. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2750](https://github.com/software-mansion/react-native-gesture-handler/pull/2750)
- Fix pointers count on iOS by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2755](https://github.com/software-mansion/react-native-gesture-handler/pull/2755)
- fix: remove usage of bridge uimanager in one more place by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2768](https://github.com/software-mansion/react-native-gesture-handler/pull/2768)
- Remove hardcoded version of `cocoapods` by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2772](https://github.com/software-mansion/react-native-gesture-handler/pull/2772)
- Move `customDirectEventTypes` to separate files. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2786](https://github.com/software-mansion/react-native-gesture-handler/pull/2786)
- Fix nested taps activation by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2759](https://github.com/software-mansion/react-native-gesture-handler/pull/2759)
- Cancel handlers by `NativeViewGestureHandler` by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2788](https://github.com/software-mansion/react-native-gesture-handler/pull/2788)
- Make simultaneous handlers always symmetric on iOS by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2800](https://github.com/software-mansion/react-native-gesture-handler/pull/2800)
- Update mocks to work when testing for the new arch by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2801](https://github.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://github.com/yatessss)
in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://github.com/software-mansion/react-native-gesture-handler/pull/2802)
- Remove event listeners on handler drop by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2815](https://github.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://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2826](https://github.com/software-mansion/react-native-gesture-handler/pull/2826)
- Add check when removing handlers from orchestrator by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2831](https://github.com/software-mansion/react-native-gesture-handler/pull/2831)
- Use `locationOfTouch:inView` over `locationInView` for focal point by
[@&#8203;rrebase](https://github.com/rrebase) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://github.com/software-mansion/react-native-gesture-handler/pull/2834)

#### 👍 Improvements

- Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2757](https://github.com/software-mansion/react-native-gesture-handler/pull/2757)
- Stop sending event on pressure changes by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2762](https://github.com/software-mansion/react-native-gesture-handler/pull/2762)
- feat: use proper APIs for newest RN versions on new arch by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2767](https://github.com/software-mansion/react-native-gesture-handler/pull/2767)
- Remove circular dependencies on web by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2783](https://github.com/software-mansion/react-native-gesture-handler/pull/2783)
- Address compilation warnings by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2597](https://github.com/software-mansion/react-native-gesture-handler/pull/2597)
- Add `userSelect` to TouchableOpacity by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2812](https://github.com/software-mansion/react-native-gesture-handler/pull/2812)
- Web `Orchestrator` refactor. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2819](https://github.com/software-mansion/react-native-gesture-handler/pull/2819)
- Replace `mach_absolute_time` with `CACurrentMediaTime` by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2830](https://github.com/software-mansion/react-native-gesture-handler/pull/2830)

#### 🔢 Miscellaneous

- Restyle Gesture Handler Documentation by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://github.com/software-mansion/react-native-gesture-handler/pull/2753)
- Fix incorrect link to Github repository by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2761](https://github.com/software-mansion/react-native-gesture-handler/pull/2761)
- Add links to each gesture on landing in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2763](https://github.com/software-mansion/react-native-gesture-handler/pull/2763)
- Update pods on CI by [@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2765](https://github.com/software-mansion/react-native-gesture-handler/pull/2765)
- Restyle steps in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2774](https://github.com/software-mansion/react-native-gesture-handler/pull/2774)
- Fix wrong admonition color on initial render by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2779](https://github.com/software-mansion/react-native-gesture-handler/pull/2779)
- Various style fixes in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2780](https://github.com/software-mansion/react-native-gesture-handler/pull/2780)
- Add closable App.js banner to docs landing page by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2781](https://github.com/software-mansion/react-native-gesture-handler/pull/2781)
- Add `mouseButton` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2789](https://github.com/software-mansion/react-native-gesture-handler/pull/2789)
- Add `pointerType` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2791](https://github.com/software-mansion/react-native-gesture-handler/pull/2791)
- Add `enableContextMenu` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2790](https://github.com/software-mansion/react-native-gesture-handler/pull/2790)
- Add `touchAction` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2794](https://github.com/software-mansion/react-native-gesture-handler/pull/2794)
- docs: change accent color to blue by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2795](https://github.com/software-mansion/react-native-gesture-handler/pull/2795)
- Change `MouseButton` export type. by
[@&#8203;m-bert](https://github.com/m-bert) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2804](https://github.com/software-mansion/react-native-gesture-handler/pull/2804)
- Fix babel config in the root project by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2717](https://github.com/software-mansion/react-native-gesture-handler/pull/2717)

#### New Contributors

- [@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) made
their first contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2753](https://github.com/software-mansion/react-native-gesture-handler/pull/2753)
- [@&#8203;camilossantos2809](https://github.com/camilossantos2809)
made their first contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2792](https://github.com/software-mansion/react-native-gesture-handler/pull/2792)
- [@&#8203;yatessss](https://github.com/yatessss) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2802](https://github.com/software-mansion/react-native-gesture-handler/pull/2802)
- [@&#8203;LatekVo](https://github.com/LatekVo) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2796](https://github.com/software-mansion/react-native-gesture-handler/pull/2796)
- [@&#8203;rrebase](https://github.com/rrebase) made their first
contribution in
[https://github.com/software-mansion/react-native-gesture-handler/pull/2834](https://github.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 <valorabot@valoraapp.com>
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.

2 participants