Git Product home page Git Product logo

Comments (11)

gorhom avatar gorhom commented on June 18, 2024 34

you should use FlatList from react-native-gesture-handler

import { FlatList } from 'react-native-gesture-handler';

from react-native-bottom-sheet.

gorhom avatar gorhom commented on June 18, 2024 12

BottomSheetFlatList meant to be for vertical sheet content. I think I'll need to update docs to mention this clearly

from react-native-bottom-sheet.

Maoravitan avatar Maoravitan commented on June 18, 2024 1

perfect, using FlatList solved the problem.
thank you.

from react-native-bottom-sheet.

konradgalczynski07 avatar konradgalczynski07 commented on June 18, 2024 1

@gorhom You should definitely add this to the docs. It would save me a few hours 👍

from react-native-bottom-sheet.

dlombardi avatar dlombardi commented on June 18, 2024 1

using the gesture library FlatList does not enable horizontal scrolling for me

from react-native-bottom-sheet.

mikehuebner avatar mikehuebner commented on June 18, 2024

Just a heads up, on Android this works fine, but on iOS you cannot swipe down on a horizontal FlatList to move the sheet.

from react-native-bottom-sheet.

gorhom avatar gorhom commented on June 18, 2024

@konradgalczynski07 it is already there
https://gorhom.github.io/react-native-bottom-sheet/troubleshooting#adding-horizontal-flatlist-or-scrollview-is-not-working-properly-on-android

from react-native-bottom-sheet.

vladimirevstratov avatar vladimirevstratov commented on June 18, 2024

you should use FlatList from react-native-gesture-handler

import { FlatList } from 'react-native-gesture-handler';

It works, thanks

from react-native-bottom-sheet.

abdullahkhan70 avatar abdullahkhan70 commented on June 18, 2024

But what about if there are nested Flatlist...

from react-native-bottom-sheet.

dimpram avatar dimpram commented on June 18, 2024

using the gesture library FlatList does not enable horizontal scrolling for me

@dlombardi For me it did work after I changed from using the modal bottom sheet to just the plain one. Of course I also changed to the gesture handler FlatList.

from react-native-bottom-sheet.

ahmedam55 avatar ahmedam55 commented on June 18, 2024

I have a problem with children components that I can't change their implementation to other types of FlatList or ScrollView from react native gesture handler

from react-native-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.