Page MenuHomePhorge

D15029.1765043501.diff
No OneTemporary

Size
757 B
Referenced Files
None
Subscribers
None

D15029.1765043501.diff

diff --git a/native/components/gesture-touchable-opacity.react.js b/native/components/gesture-touchable-opacity.react.js
--- a/native/components/gesture-touchable-opacity.react.js
+++ b/native/components/gesture-touchable-opacity.react.js
@@ -65,8 +65,12 @@
const stickyActiveEnabled =
stickyActive !== null && stickyActive !== undefined;
- const longPressState = useSharedValue(-1);
- const tapState = useSharedValue(-1);
+ const longPressState = useSharedValue<$Values<typeof GestureState>>(
+ GestureState.UNDETERMINED,
+ );
+ const tapState = useSharedValue<$Values<typeof GestureState>>(
+ GestureState.UNDETERMINED,
+ );
const longPressEvent = useAnimatedGestureHandler<LongPressGestureEvent>(
{
onStart: () => {

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 6, 5:51 PM (3 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5839879
Default Alt Text
D15029.1765043501.diff (757 B)

Event Timeline