-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(EMI-2146): Add Task onboarding animation (#11031)
* feat(EMI-2146): Add Task onboarding animation * add reanimated swipeable patch * prevent onboarding overlapp
- Loading branch information
Showing
6 changed files
with
137 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/react-native-gesture-handler/src/components/ReanimatedSwipeable.tsx b/node_modules/react-native-gesture-handler/src/components/ReanimatedSwipeable.tsx | ||
index 40e760c..9e226a2 100644 | ||
--- a/node_modules/react-native-gesture-handler/src/components/ReanimatedSwipeable.tsx | ||
+++ b/node_modules/react-native-gesture-handler/src/components/ReanimatedSwipeable.tsx | ||
@@ -444,7 +444,7 @@ const Swipeable = forwardRef<SwipeableMethods, SwipeableProps>( | ||
openRight() { | ||
'worklet'; | ||
rightWidth.value = rowWidth.value - rightOffset.value; | ||
- animateRow(calculateCurrentOffset(), -rightWidth.value); | ||
+ animateRow(calculateCurrentOffset(), -(rowWidth.value - rightOffset.value)); | ||
}, | ||
reset() { | ||
'worklet'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters