Giter VIP home page Giter VIP logo

Comments (5)

computerjazz avatar computerjazz commented on August 26, 2024

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.

 avatar commented on August 26, 2024

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.

computerjazz avatar computerjazz commented on August 26, 2024

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.

computerjazz avatar computerjazz commented on August 26, 2024

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.

 avatar commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.