296 questions
0
votes
0
answers
29
views
Overscroll with white area behind on React Native iOS
Vertically overscrolling a ScrollView (or a View) on iOS is way too "exaggerated" and shows the background above that View (a white background). I tried to set bounces, alwaysBounceVertical ...
2
votes
0
answers
46
views
React-Native Pressable's don't respond when page visited again after back navigation
I have a Pressable a MyButton component which uses Pressable from react-native-gesture-handler:
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { Pressable, ...
Advice
0
votes
2
replies
83
views
How to make a modal scrollable but also swipable at the same time?
I made this modal in react-native that gives it a swipe-down-close-effect. I used the react-native-gesture-handler to detect the swiping gesture and react-native-reanimated to animate the modal ...
0
votes
0
answers
58
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
1
answer
119
views
React native: touches don’t reach absolute positioned child under transformed
When a child is wrapped with position: 'absolute' under a panned/zoomed parent, the UI renders but touches don’t reach the child (video doesn’t start / player UI not interactive).
The exact same ...
0
votes
0
answers
144
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-...
0
votes
0
answers
124
views
Which versions of gesture-handler, reanimated, safe-area-context, and screens work with React Native 0.74.3?
I am using React Native 0.74.3 for my project, and I want to install navigation-related dependencies.
Specifically, I want to know which versions of these libraries are compatible with React Native 0....
6
votes
2
answers
688
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
0
answers
93
views
React native android app closes unexpectedly with react-native-gesture-handler
Context
I have a react-native app with the following versions
react-native: 0.73.11
react-native-gesture-handler: 2.21.0
react-native-screens: 4.1.0
I have used GestureHandlerRootView from 'react-...
0
votes
1
answer
214
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
1
answer
1k
views
React native gesture handler build error : Supertypes of the following classes cannot be resolved (React native upgrade)
I'm trying to upgrade an old react-native app from 0.71.9 to whichever version would agree to build in a targetSdk = 35+ in order to match the next google API level requirements.
Comming myself from ...
2
votes
0
answers
321
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/...
0
votes
1
answer
167
views
pinch and zoom react native skia and react gesture handler
I am using react native skias library and I am trying to do matrix calculations to create a pannable and zoomable skia canvas (like figma or google maps). Here is my implementation so far
function ...
-1
votes
1
answer
116
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
72
views
Swipeable actions misaligned or peeking when adding new items with padding in React Native using ReanimatedSwipeable
I'm using ReanimatedSwipeable from react-native-gesture-handler with React Native and Expo. Each to-do item in my FlatList has internal padding (e.g. px-4) for visual spacing. The issue is: When I add ...