Comments (6)
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
from react-native-gesture-handler.
Hi @IvanIhnatsiuk! I've just tested that on my Samsung S20+ and Pixel 6a emulator - both work fine. To test that, I've added logs into onPress callbacks in RectButtons
. Could you provide a reproduction that we can look at?
from react-native-gesture-handler.
@m-bert Hello, I think you can reproduce this in your example app. To reproduce this, I simply updated the App.tsx file to
import React from 'react';
import {
BorderlessButton,
GestureHandlerRootView,
} from 'react-native-gesture-handler';
import { Text } from 'react-native';
const press = () => console.log('pressed');
export default function App() {
return (
<GestureHandlerRootView style={{ justifyContent: 'center', flex: 1 }}>
<BorderlessButton onPress={press}>
<Text>Press me</Text>
</BorderlessButton>
</GestureHandlerRootView>
);
}
Screen.Recording.2024-03-28.at.10.15.14.mov
Please, let me know if you need more details :)
from react-native-gesture-handler.
Hello @IvanIhnatsiuk! I've copied your code and everything is fine:
Nagranie.z.ekranu.2024-04-2.o.10.35.15.mov
It also works on my physical Samsung S20+
from react-native-gesture-handler.
I can see that you're using another emulator, I'll try to test that on Pixel 7
from react-native-gesture-handler.
Okay, I've tested that on Pixel 7 Pro emulator and I still wasn't able to reproduce this issue.
from react-native-gesture-handler.
Related Issues (20)
- GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized HOT 9
- Application crashing after changing component tree HOT 2
- React Native App crashes without error message when GestureDetector appears HOT 6
- RNGH 2.16.0+ only supports React Native >=0.68.0 (Android) HOT 1
- Expo app crashes when using GestureDetector HOT 9
- TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found HOT 14
- Unable to resolve "./TouchableNativeFeedback" from "node_modules/react-native-gesture-handler/src/components/touchables/index.ts" HOT 1
- Some performance issues when combining FlatList, react-native-gesture-handler, and react-native-reanimated HOT 1
- Privacy Info HOT 4
- Touchables do not register taps in nested FlatList on iOS
- Combining Pan Gesture and Swipeable creates unexpected behavior HOT 4
- [Web] Nested Pressable inside a Swipeable captures press when swiping HOT 1
- Improve Gradle build by declaring output HOT 2
- manualActivation doesn't work in the Web. HOT 6
- Pan gesture always runs simultaneously with the PagerView
- Event callback is not running in ui thread. HOT 2
- Pan gesture with manual activation disables responding of any touchable in the app
- `isFormsStackingContext(node)` does not have NativeState on react-native 0.73 HOT 3
- Certain classes (ScrollView, RNGHTextInput) no longer exporting type HOT 6
- Gesture.Pan() causing excessive re-renders (too slow) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-gesture-handler.