Questions tagged [react-native-gesture-handler]
263 questions
0
votes
1 answer
nested Flatlist not scrolling horizontally
nesting list view is not scrolling horizontally in React-native
Parent list is working fine but child is not scrolling.
working fine for vertical scroll
dependencies:
"react": "18.1.0"
"react-native": "0.70.6",
"react-native-gesture-handler":…

mukesh buwade
- 1
- 2
0
votes
0 answers
React native import com.swmansion.gesturehandler.RNGestrurehandlerPackage cannot find symbol in react/PackageList.java Error
`> Task :app:compileDebugJavaWithJavac FAILED
58 actionable tasks: 3 executed, 55 up-to-date
C:\Dev\ReactNative\project\myapp\android\app\build\generated\rncli\src\main\java\com\facebook\react\PackageList.java:15: error: cannot find symbol
import…

Faycal
- 11
- 4
0
votes
1 answer
Issue with RNGestureHandlerEnabledRootView not being supported : java.lang.UnsupportedOperationException
I am getting an issue with react-native-gesture-handler library. I have upgraded to the latest version "^2.9.0". I am not able to run my build as it crashes on opening the app giving me a summary:- java.lang.UnsupportedOperationException: Your…

Preetika
- 702
- 8
- 21
0
votes
0 answers
Hi I was trying to rotate a box using animated.view and Gesture.Rotation
in my code .onUpdate and .onEnd methods are firing but the box is not rotating
below is the code
import {View, Text, Animated, StyleSheet,Image} from 'react-native';
import React, { useState } from 'react';
import {useSharedValue} from…

Amith Vignesh G
- 1
- 1
0
votes
0 answers
react-native-bottom-sheet scroll not working when scrolling bottom to top
react-native-bottom-sheet is not scrolling bottom to top in the below scenario.
Scroll to the bottom
Close the bottom sheet to the start position
Try to scroll from bottom to top
Please see the video
My code is as follows

tharwi
- 67
- 11
0
votes
0 answers
Conflict between selectable text and react-native-gesture-handler
I'm creating a bottom sheet with selectable text in it. When I want to scroll my bottom sheet, the text gets selected.
I want to know if I can fix it inside my component. I suspect it comes from how I handle the scroll.
Here is a minimal…

yaken
- 107
- 1
- 7
0
votes
1 answer
React-native: requireNativeComponent: "RNGestureHandlerRootView" was not found in the UIManager after upgrading to latest version react native
I just upgrading my react native project (CLI) from 0.66.1 to 0.70.6. I run perfectly on iOS, but it occur this error when I run on android.[].
My package.json:
"react-native": "0.70.6",
"react": "18.1.0",
"react-native-safe-area-context":…

Trần Ân
- 21
- 2
0
votes
1 answer
Fix the upstream dependency conflict, React Native Expo
I have a React Native Expo application, and I am trying to install expo-splash-screen with running npx expo install expo-splash-screen
As a result I get the following error message:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm…

Attila Juhász
- 1
- 1
0
votes
0 answers
Swipeable component doesn't work in BottomTabNavigator
I have a FlatList inside of a screen that uses BottomTabNavigator from react-navigation-bottom-tabs. Inside of the FlatList are swipeable items, using Swipeable from react-native-gesture-handler. Inside of the tab screens these items aren't…

Tim van Dam
- 438
- 3
- 12
0
votes
0 answers
Change the drag of ListItem.Swipeable from React Native Elements
I've been using the Swipeable component from react-native-gesture-handler to handle my swipeable list items, but Swipeable is causing lag on the JS thread during the initial render, according to my profilers. So I've decided to switch to…

Tim van Dam
- 438
- 3
- 12
0
votes
0 answers
RN crash when a gesture is used(Pinch, Pan, Tap)
I implement a function that uses the pinch zoom gesture with the landscape functionality
when I test this behavior, zooming in/out and rotating the phone moving from portrait to landscape, the application crash, and the react native console does not…

Andres Diaz
- 11
- 1
0
votes
0 answers
No default value error NavigationContainer
I got an error No default value
Have used Bottom Sheet library and used it's components as shown below:
BottomSheetModalProvider
BottomSheet…

Jaydeep Patel
- 303
- 2
- 11
0
votes
0 answers
Separate gestures on a nested component and parents
Would it be possible to have a nested child with gestures not interfering with parents gestures.
So my screen is composed of :
Stack Navigator with swipe back enabled
Flatlist with pull to refresh enabled
An interactive map in the header of the…

Nik
- 1
- 1
- 4
0
votes
1 answer
How can I implement a decay for a matrix transformation with react-native-gesture-handler and reanimated?
I'm trying to learn react-native-gesture-handler and react-native-reanimate. I like the idéa of using matrices for transformation, but I have a hard time understanding where to fit in physics functions, such as withDecay.
I want to use the new…

Michael
- 1,764
- 2
- 20
- 36
0
votes
1 answer
rendering image on flatlist from link in array
The title sum it up, i just wanted to render images from array into my flatlist, but i get an error when i tries to call it like this:
item.id}
numColumns={2}
…