299 questions
0
votes
0
answers
31
views
Expo - React native gesture handler multitouch doesn't work on android
I have an Expo React Native application, and I have two draggable objects which can be dragged simultaneously, at least on iOS, iPhone SE2. On Android, I can drag only one at the time, the second one ...
0
votes
0
answers
107
views
React-native Pinch-to-zoom doesn’t keep the focal point fixed(react-native-gesture-handler)
Here is a short demo for the problem:
https://gist.github.com/slhhuseein-jpg/09eb2e2ef458bff81298bdd3d5e49da0?permalink_comment_id=5818819#gistcomment-5818819
As you can see. When performing a pinch-...
6
votes
2
answers
507
views
Failed to obtain view for PanGestureHandler in functional component
I'm working on a React Native app using Expo and react-native-gesture-handler.
When I try to use PanGestureHandler inside my App.tsx, I get the following error at runtime:
ERROR [Error: [Gesture ...
0
votes
1
answer
134
views
React Native Skia Pinch to Zoom Gesture
I am currently trying to implement a pinch to zoom gesture in react native with the react native gesture handler and react native skia. The goal is to create a canvas where I can pan around and zoom ...
2
votes
0
answers
276
views
Caused by: org.jetbrains.kotlin.gradle.tasks.CompilationErrorException: Compilation error. See log for more details
When I run my react native project it give the above error
Here I shared the details description of the error
Task :react-native-gesture-handler:compileDebugKotlin FAILED e: file:///Users/apple/...
-1
votes
1
answer
87
views
App crashes on first drag in drag-and-drop game
I'm building a drag-and-drop game in React Native using Reanimated v2 and react-native-gesture-handler. The game involves dragging Javanese characters (letter) to matching target boxes. Everything ...
0
votes
0
answers
66
views
react-native-wheel-picker-expo not responding to gestures inside @gorhom/bottom-sheet
I'm currently using the @gorhom/bottom-sheet package in my React Native project, and it's working great overall.
However, I'm running into an issue when I try to use the react-native-wheel-picker-expo ...
0
votes
0
answers
99
views
React Native gifted chat gets disabled when used with React native gesture handler
So I have my chat interface built with RN Gifted chat. Now, I wanted to include a feature that would take my user to another screen once he swipes (horziontally on the screen). When I used RN gesture ...
0
votes
0
answers
168
views
React Native: "TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found" Error
Question:
(I don't use IOS)
I am working on a React Native project and encountering the following error when trying to run the app on an Android emulator:
ERROR Invariant Violation: ...
0
votes
1
answer
164
views
Redux dispatch action breaks when used with React Native Reanimated
I am developing an app with React Native. I want to be able to move and zoom an image with React Native Gesture Handler, and then update the Redux store with the new translation and scale of the image....
5
votes
2
answers
598
views
Error ParagraphShadowNode.h file not found
Showing All Errors Only
CompileC /Users/jose/Library/Developer/Xcode/DerivedData/FCliente-dqwkdzhglctoykctinygewyrwvpm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNGestureHandler....
2
votes
1
answer
1k
views
React Native - Error with react native gesture handler
I'm trying to build my react native app but I got the following error in android:
Execution failed for task ':react-native-gesture-handler:compileDebugKotlin
My dependencies are:
"dependencies&...
1
vote
1
answer
2k
views
React Native - Execution failed for task ':react-native-gesture-handler:compileDebugKotlin'
I clone a React Native Project and run npm install. After that, I usethe npm start command to run the project. But it was through an error.
----------Error----------
import static com.facebook....
0
votes
0
answers
91
views
Can I remove react-native-gesture-handler safely after I dropt react navigation from my react native project?
I used to use react navigation in my react native project but after we moved everything to a webview wrapper instead of native elements, we are not using react navigation in any way, two of the ...
0
votes
0
answers
113
views
react-native-reanimated component is working in react-native 0.74 but in react-native 0.76
This is BottomTabNavigator.js file:
const BottomTab = createBottomTabNavigator();
const { height } = Dimensions.get('window');
const SNAP_TOP = height + StatusBar.currentHeight;
const SNAP_BOTTOM = 54 ...
2
votes
0
answers
248
views
React Native FlatList Horizontal Scroll Not Working with Gesture Handler Pinch Zoom on Android Tablet (Android 14)
I am using a horizontal FlatList combined with react-native-gesture-handler to implement pinch-to-zoom functionality. The pinch gesture works as expected, allowing me to zoom in and out of the content....
2
votes
1
answer
1k
views
React Native - Stack Navigation - react-native-gesture-handler:compileDebugKotlin FAILED
I create a new React Native Project and I install React Native Navigation and React Native Stack Navigation.
npm install @react-navigation/native
npm install @react-navigation/stack
npm install react-...
0
votes
1
answer
626
views
How to implement Drag and Drop in react-native web and mobile?
I want to make drag and drop with react native on the web, but I can't find any library that I can use to make it work on the web and the mobile. Most of the packages I found only works on mobile, ex: ...
0
votes
1
answer
30
views
Creating boundaries for moving an image inside a squared view
I am building a crop component in React Native. I've already assembled some code (https://snack.expo.dev/@leurs247/cropper).
Explanation:
It's goal is to crop the given image into a square, but the ...
0
votes
1
answer
266
views
ScrollView from react-native-gesture-handler not working inside of Animated.View from react-native-reanimated
I've got a ScrollView from react-native-gesture-handler inside of an Animated.View from react-native-reanimated. However, the it's just not scrolling and I'm trying to figure out why. Here's my ...
3
votes
0
answers
308
views
Nested Scrolling not working when using DraggableFlatList
I am attempting to create screen that renders category names, with points of interest (POIs) underneath it. The POIs should be drag and droppable to reorder them within each category section. An ...
0
votes
1
answer
154
views
Reanimated scrollview contentOffset animation disables all gestures on IOS
Animating the contentOffset prop on a reanimated scrollview disables all gestures including touch events on IOS while the animation is running. The animation itself works fine and as soon as the ...
1
vote
1
answer
148
views
React Native: Render error when trying to make text components draggable with gesture handling
I'm developing a photo editing feature in a React Native app where users can add text overlays that are draggable.
I'm using hooks to manage the text blocks positions and update them through gesture ...
2
votes
1
answer
1k
views
React Native app closes on android back button or swipe left [Android 13 devices only]
I am using react native 0.73.0, react-navigation/native and native-stack 6.1.10 and 6.9.18,
when the android back button is pressed or swipe gesture to go back, rather than going to the previous ...
0
votes
2
answers
3k
views
Error into my react native code using Gesture Handler
I'm using React Native Gesture Handler into a js file and when I run the code I receive this error
ERROR [react-native-gesture-handler] Some of the callbacks in the gesture are worklets and some are ...