Questions tagged [react-native-gesture-handler]

263 questions
0
votes
1 answer

React Native Gesture Handle PinchGestureHandler Text Component

So I'm trying to implement a pinch to zoom on a Text component in React Native and I can't seem to understand the documentation, and most other posts are about making an Image Zoomable, I tried to extrapolate from those but does not want to…
0
votes
1 answer

Error: It is not supported to use minDist with activeOffsetX or activeOffsetY

is there any fix for this now? https://github.com/jeremybarbet/react-native-modalize/issues/374
0
votes
1 answer

RN-Gesture-Handler Swipeable issue with maximum call stack size exceeded

I can't make the Swipeable component work with a button. It seems like it calls all button to render the action everything I click on one of them. Any idea what is wrong here ? Thank you import { RectButton, Swipeable } from…
Hugo
  • 2,073
  • 6
  • 23
  • 46
0
votes
1 answer

React Navigation: Warning react-native-gesture-handler

What intended doing create react-native with expo add React Navigation The first work well the second task have warnings Steps in the Second task Install React Navigation npm install react-navigation --legacy-peer-deps Install…
0
votes
1 answer

react-native-gesture-handler occurs so many warnings

I installed react-native-gesture-handler in React Native Expo app. And when I start app, it occurs many warnings. I tried to uninstall the react-native-gesture-handler package and install it using expo install, yarn add and npm install. But it…
vinhtranchau
  • 565
  • 2
  • 13
0
votes
1 answer

Modalize React-Native Error: It is not supported to use minDist with activeOffsetX or activeOffsetY

I'm using RN Modalize and have had several projects using the react-native-modalize library and no problems so far. but this time I created a new project and have followed the tutorial to apply react-native-modalize but get an error like this…
0
votes
1 answer

Touchable Opacity not working fine in react native? v0.66.1

I am using react native 0.66.1 with react-native-gesture-handler and reanimated 2. There is very strange behaviour of touchableOpacity. Have a look below; How we can rid of it??
0
votes
1 answer

Implement pinch zoom using one touch react native

I want to achieve the pinch gesture (zoom) using single Touch of finger in the react native. ![Having four arrow at side of the images. Need to implement the pinch zoom using single touch][1] https://i.stack.imgur.com/ykqSb.png
0
votes
0 answers

Styling issues with react-native-gesture-handler

New to react native and stackoverflow. I am restyling a project that lets you take notes as you read the bible. I am trying to use react-native-gesture-handler so I can get rid of these ugly delete and edit buttons that I have smashed together on…
0
votes
1 answer

How to land on the image a user has clicked in image swipe?

My React Native 0.64 app uses react-native-gesture-handler 1.16/react-native-reanimated 2.1 to swipe images left and right. The idea is when user clicks a image in image gallery, then the image was displayed occupying the full screen and the rest of…
0
votes
1 answer

Get total number of items rendered from FlatList, and then update that number based on item state changes

I'm very new to React Native (and React/Javascript in general to be honest) and am very stuck. I have a chore tracking app that renders a list of chores using Flatlist, that can then be swiped/checked off using React Native Gesture Handler…
0
votes
1 answer

stop dragging after a limit has reached

I am using react native gesture handlers to create a bar that can be scrolled up and down. Currently I can scroll it as much as I want. I want to modify it such that it should stop scrolling when I certain limit has reached. export const…
0
votes
1 answer

React native animations are not animated

So currently experimenting on RN animations and i'm trying to go as slow as possible in order to understand basic functionality and workflow. I created a new Expo app and installed the react-native-reanimated package version ~1.13.0 and…
0
votes
1 answer

FlatList or ScrollView don't work when children are wrapped with Swipeable

I have a FlatList, and each item inside the FlatList is wrapped with Swipeable from react-native-gesture-handler/Swipeable. It appears as if Swipeable cancels the gestures, and doesn't allow the FlatList to scroll if my finger is on a Swipeable…