15
u/Bamboo_the_plant May 22 '20
There are so many competing versions of these. Questions to assess:
Does it support landscape?
Can it handle rotation?
How does it choose its content height?
How does it handle scrollable content?
4
u/kbcool iOS & Android May 23 '20
Biggest fail that most of them have is that they won't draw at the root level so something always draws over the top. Eg your navigation library
1
3
u/Asurax96 May 22 '20
Whatโs the name of the competitors? What should I search for?
9
u/Bamboo_the_plant May 22 '20
https://github.com/rgommezz/react-native-scroll-bottom-sheet
https://github.com/osdnk/slack-pan-sheet-react-native-experiment/blob/master/README.md (might be the precursor to the next link)
https://github.com/osdnk/react-native-reanimated-bottom-sheet
https://github.com/expo/react-native-action-sheet
https://github.com/cesardeazevedo/react-native-bottom-sheet-behavior
https://github.com/jacklam718/react-native-modals/blob/master/README.md
... to name but a few
3
u/jeremybarbet May 23 '20
And another library here ๐ https://github.com/jeremybarbet/react-native-modalize
2
2
u/ijustclosedthewindow May 22 '20
Am I able to trigger and open/close of a bottom sheet from another bottom sheet?
Say I have BottomSheet1 with a list of actions, and when I select an action, it should close BottomSheet1 and open the corresponding bottom sheet. Is this possible?
2
1
1
1
1
1
u/adrianwechner May 22 '20
is it using react-native-reanimated ?
1
u/rateb_ May 23 '20
I checked, answer is no unfortunetly not even using react-native-gesture-handler.
the package is just leveraging the Modal component from the react-native library as a show-case example.
1
1
1
u/shun_tak May 23 '20 edited May 23 '20
What does it look like on Android?
edit: in particular the date selector.
Also does it work with expo?
9
u/[deleted] May 22 '20
https://github.com/nysamnang/react-native-raw-bottom-sheet