question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integrating with react-native-snap-carousel

See original GitHub issue

Ask your Question

I’m using https://github.com/meliorence/react-native-snap-carousel inside a BottomSheet. It’s working fine on iOS and when used outside a BottomSheet, but it doesn’t scroll on Android when inside a BottomSheet.

I imagine it’s because the carousel loads React Native’s ScrollView - https://github.com/meliorence/react-native-snap-carousel/blob/4.0.0-beta.x/src/carousel/Carousel.tsx

What would you do in this case?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

31reactions
gorhomcommented, Mar 9, 2021

hi @kickbk , i checked your snack and its simple to fix, you just need to wrap your carousel component with

<NativeViewGestureHandler disallowInterruption={true}>
   {...}
</NativeViewGestureHandler>
3reactions
kickbkcommented, Mar 10, 2021

OK, I was running to some issues unrelated to the library. It’s working perfectly with NativeViewGestureHandler. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native carousel with react-native-snap-carousel
Create a carousel in a React Native mobile application with a Tinder-style swipe animation using the react-native-snap-carousel package.
Read more >
Build an Image Carousel In React Native | by Hussain Arif
Integrate the React Native Snap Carousel library in your mobile apps · Has built-in support for lazy loading. This brings performance to the ......
Read more >
react-native-snap-carousel - npm
Swiper/carousel component for React Native with previews, multiple layouts, parallax images, performant handling of huge numbers of items, ...
Read more >
React Native — Integrating with third-party libraries - Blinkit
React Native Snap Carousel - Snap carousel is a feature-packed library based on a scroll view and FlatList. It offers a lot of...
Read more >
Any libraries out there similar to react native snap carousel?
Any libraries out there similar to react native snap carousel? I am trying to build a 3d card stack carousel, something like this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found