Direction on onSwipeableOpen undefined #1978
Unanswered
kritikakurani26
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone.
I'm trying to execute two different graphQL mutations on onSwipeableOpen depending on the direction. According to the example at https://github.com/software-mansion/react-native-gesture-handler/blob/main/example/src/showcase/swipeable/AppleStyleSwipeableRow.tsx#L100 I should simply have the direction passed in as an argument, however, when I log it, I get the direction as undefined.
Here's some code if it helps in detecting what's wrong:
Can someone please help me in figuring out why the direction is undefined? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions