react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

Swipeable conflict with swipe to close screen( default on IOS)

Open fukemy opened this issue 3 years ago • 1 comments

Description

I have chat app, and I wrapped message with Swipeable to reply, here is my code:

return (
        <GestureHandlerRootView>
          <Swipeable
            ref={updateRowRef}
            friction={2}
            rightThreshold={40}
            renderRightActions={renderRightAction}
            onSwipeableRightWillOpen={onSwipeWillOpen}
            onSwipeableOpen={onSwipeOpenAction}>
            {children}
          </Swipeable>
        </GestureHandlerRootView>
      )

But I can not swipe to close the screen(it's IOS default)

Steps to reproduce

  1. Define chat app
  2. Wrap message row by Swipeable

Snack or a link to a repository

It's only reproduce available in real device

Reanimated version

2.9.0

React Native version

0.68.0

Platforms

iOS

JavaScript runtime

JSC

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Release mode

Device

Real device

Device model

IP 11 Prm

Acknowledgements

Yes

fukemy avatar Sep 12 '22 10:09 fukemy

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar Sep 12 '22 10:09 github-actions[bot]