Giter Club home page Giter Club logo

Comments (6)

imdanielpiva avatar imdanielpiva commented on May 23, 2024 24

Hi, @nysamnang, thank you for your response, and sorry for not updating this issue when I figured it out just about 2 hours after having opened the issue.

The problem actually is that if we use the Touchables components from react-native-gesture-handler then it won't work, I'm not sure why and couldn't dig into the problem, it just won't work, I've seen some compatibility issues of react-native-gesture-handler lately. But using the Touchables from react-nativedid the trick, so anyone who will combine react-native-raw-bottom-sheet and react-native-gesture-handler be aware of this!

Would it be reasonable add this information to the README?

By the way, awesome work!

from react-native-raw-bottom-sheet.

imdanielpiva avatar imdanielpiva commented on May 23, 2024 3

Well, there's just another bit of information that I forgot to mention that may help about this issue: besides of all my Touchables being imported from react-native-gesture-handler, all of them were children of a ScrollView also from react-native-gesture-handler!

I really might be talking some nonsense here 😄

You probably already know this, but the main feature of react-native-gesture-handler is that they don't use the React Native Gesture Responder System at all , they implement it natively for each platform, and I think that there might be a conflicting issue in some scenarios mixing the React Native Gesture Responder System and the react-native-gesture-handler implementation.

from react-native-raw-bottom-sheet.

kalleriakronos24 avatar kalleriakronos24 commented on May 23, 2024 2

@ccs1428 make sure u imported TouchableOpacity from react-native package not using the TouchableOpacity from react-native-gesture-handler

i had the same problem as u then i realize i imported the TouchableOpacity from react-native-gesture-handler

from react-native-raw-bottom-sheet.

nysamnang avatar nysamnang commented on May 23, 2024 1

@imdanielpiva That's very strange! As you can see in my example, I use Touchable inside each of them and the Press Events are working pretty good. Anyway, I'm gonna track this issue and thank you for the snippet code.

from react-native-raw-bottom-sheet.

nysamnang avatar nysamnang commented on May 23, 2024

@imdanielpiva Thank you very for figured out the issue otherwise maybe I don't how to run into this problem. You said that the issue occurred when we combine RBSheet with react-native-gesture-handler but I don't agree at all because I see the snippet code in the issue #29 I think those components are not react-native-gesture-handler's component. It really makes me wonder!!!

from react-native-raw-bottom-sheet.

ccs1428 avatar ccs1428 commented on May 23, 2024

@imdanielpiva @nysamnang

I am facing same issue, please help me to solve the same.

Within the bottom sheet not able to call "TouchableOpacity" from "react-native" / "react-native-gesture-handler" packages.

i am in this issue around 6 hours, please help me.

from react-native-raw-bottom-sheet.

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.