Comments (5)
Thanks for the detailed bug report. This is actually an issue with react-native-draggable-flatlist
and react-native-gesture-handler
TapGestureHandler
, documented in computerjazz/react-native-draggable-flatlist#120.
I have what I believe is the fix on master in that repo. I will release after a bit more testing and verification.
The demo project is useful, but even more useful (and less effort for everyone) would be a Snack: https://snack.expo.io/
from react-native-swipeable-item.
OK, thanks for the info. This is indeed on Android (haven't tested on iOS yet). I will try installing react-native-draggable-flatlist from master and let you know how it goes.
In my additional experiments I saw that onPressOut is (usually) not being called at all.
Will make a Snack in the future! Sorry about the inconvenience.
from react-native-swipeable-item.
No worries! If you install from master
you'll probably need to edit package.json
within the DraggableFlatlist node modules folder to point to the projects src
folder instead of the built version, which isn't checked in.
Here's a snack I created to test the changes that are now on master -- you may be able to drop your code in to see if it fixes the issue: https://snack.expo.io/BJ!3zmkXL , just be sure to keep the link to the local DraggableFlatlist code and not the npm version .
from react-native-swipeable-item.
Removed TapGestureHandler in react-native-draggable-flatlist 2.3.0, please upgrade let me know if the onPress issue is fixed.
from react-native-swipeable-item.
OK, sorry about the delay and thanks for letting me know about the new version! onPressIn
, onPress
, and onLongPress
work as expected, whereas onPressOut
is never called. This is fine for me since onPress
is what I really need.
from react-native-swipeable-item.
Related Issues (20)
- When scrolling it triggers onChange
- where can i find the "./SwipeableItem" file in readme example HOT 1
- Readme Example code HOT 1
- SwipeableItem consistently gets stuck between snap points HOT 5
- Inconsistent behavior with multiple snap points HOT 2
- Calling %s on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release. e getNode() HOT 1
- Added extra onPress is always invoked HOT 4
- Changing `snapPointsLeft` does not re-render `SwipableItem` HOT 1
- Freeze some elements from dragging HOT 1
- Please support `react-native-reanimated` 2
- Uncaught TypeError: Cannot read properties of undefined (reading 'previousStyle') when experimenting readme example HOT 6
- Generic type not passed to SwipeableItem props
- Package does not support [email protected] HOT 3
- Add custom props to RowItem HOT 3
- Can't press buttons during the swiping HOT 5
- Swipe not working with latest version of Expo HOT 1
- Swipeable-item not swiping but draggable flatlist works HOT 1
- Example causes CPU to go to max HOT 6
- Improve README HOT 2
- Types incompatible with reanimated 3.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-swipeable-item.