r/reactnative • • May 22 '20

Super Lightweight Component

226 Upvotes

19 comments sorted by

15

u/Bamboo_the_plant May 22 '20

There are so many competing versions of these. Questions to assess:

  1. Does it support landscape?

  2. Can it handle rotation?

  3. How does it choose its content height?

  4. 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

u/JuriJurka Jun 28 '20

which ones are doing it right?

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

u/shamoons May 22 '20

Will it work with web via expo?

1

u/[deleted] May 22 '20

I like this!

1

u/BlearyShotZz May 22 '20

amazing work!

1

u/OptionPlayerOne May 22 '20

Awesome! Exactly what Iโ€™m looking for right now. Thanks a ton!

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

u/kent2441 May 22 '20

Do you have to drag the bar to close it? Or can you drag anywhere

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?