r/reactnative • • Aug 11 '20

Bottom Sheet v1 is out ๐Ÿ”ฅ

234 Upvotes

41 comments sorted by

15

u/gohom92 Aug 11 '20
  • Smooth interactions & snapping animations.

  • Support FlatList, SectionList, ScrollView & View scrolling interactions.

  • Support React Navigation Integration.

https://github.com/gorhom/react-native-bottom-sheet

5

u/tomacotuna Aug 11 '20

This might be exactly what I was looking for my app, will give a try this weekend ๐Ÿ™๐Ÿผ

1

u/gohom92 Aug 12 '20

looking forward to hear your feedback :)

8

u/rehmantalat Aug 11 '20

Does it support react native web?

3

u/gohom92 Aug 12 '20

never tried , but i think its doable with little extra configuration to support web ๐Ÿ‘

3

u/lucbas Aug 11 '20

Congratz!

We have been using https://github.com/osdnk/react-native-reanimated-bottom-sheet but it doesnโ€™t seem to be maintained.

I saw there are some couple libraries out there, e.g. I was looking into switching to https://github.com/jeremybarbet/react-native-modalize.

How does yours compare to it/the others? Happy to give it a shot when I get some time.

2

u/Cookizza Aug 12 '20

I have a published app using modalize and it's been performing well on most devices. It does have an issue with autoheight on IOS but think there's a patch shortly.

I was before using reanimated-bottom-sheet but switched before release without much hassle. Their API is similar.

I'd be interesting in finding some benefits too for switching - it's great there's options for things like the bottom sheet as I think it's a nice UX.

1

u/gohom92 Aug 12 '20

i have used reanimated-bottom-sheet, it is a great library and i have shipped apps with it.

however, interactivity with the sheet content is its weakest point.

i am interested to hear your feedback regarding my library ๐Ÿ˜‡

1

u/gohom92 Aug 12 '20

1

u/lucbas Aug 12 '20

Thanks! Iโ€˜ll take a look. So for me itโ€™s currently RN Modalize vs yours

3

u/Epick_362 Aug 12 '20

Judging by readme this looks super polished and just what I need for my project. I have tried many bottomsheet libs already and all of them have some downsides. Thank you for sharing this and Iโ€™ll give it a try once I have time for a refactor

2

u/gohom92 Aug 12 '20

thanks, looking forward to hear your feedback :)

3

u/Eunoia_R Aug 12 '20

Would it be a good idea to perhaps place a keyboard / text input in a bottom sheet? Like on a comment screen, where the text input moves up with the keyboard? Great work btw!!

2

u/gohom92 Aug 12 '20

yeah, look at the map example ๐Ÿ‘

3

u/BobanskiMyName Aug 13 '20

Just wanted to say, the transition from reanimated-bottom-sheet to this was very nice. And, it feels much more polished now.

Thanks!

2

u/gohom92 Aug 13 '20

Glad to hear that ๐Ÿ™

2

u/gregpr07 Aug 12 '20

Could you use this for Youtube-like video player?

2

u/gohom92 Aug 12 '20

you could put anything you want ๐Ÿ‘

2

u/lukebars Aug 12 '20

We're currently using https://github.com/ammarahm-ed/react-native-actions-sheet and it is really good. What would be the advantages of this one?

1

u/gohom92 Aug 12 '20

react-native-actions-sheet is a select action sheet, while bottom-sheet library is for display a content or even screens in it

2

u/kaiser_07 Aug 12 '20

Try this with expo . getting error https://imgur.com/a/lvHJTpI

1

u/gohom92 Aug 12 '20

Could you please create an issue at the repo and ill try to help :)

8

u/Skullcan Aug 11 '20

Looks smooth as butter! Gonna try in a future project for sure.

Thanks for your contribution!

5

u/jmar31 Aug 11 '20

This looks really nice! Great work

3

u/zmasta94 Aug 11 '20

Yaaaaas!!

3

u/MattDameon Aug 11 '20

Nice work dude. I'll definitely be replacing some of bottom sheets im using now for this. It's a step up over anything else out there.

3

u/gbland777 Aug 12 '20

Oh legit!!

3

u/AgiIity Aug 12 '20

Nice!! I remember testing the library out a few months back and really needed the propagating scroll to happen, glad that got fixed for v1

3

u/rahulkumarwp Aug 12 '20

Looks awesome. Definitely gonna use this for my projects. Thanks for your contribution.

3

u/DJDT20183 Aug 12 '20

Itโ€™s so cool, congrats ๐Ÿ‘๐Ÿผ

2

u/hexadcml Aug 12 '20

Itโ€™s beautiful. Iโ€™ve looked at this for five hours.

2

u/sachinar94 Aug 12 '20

seems nice, let's try

2

u/[deleted] Aug 12 '20

Nice. I previously achieved the same functionality with react-native-modal.

2

u/wobsoriano Aug 15 '20

Looks easier to use than the original one. Nice ๐Ÿคฏ

0

u/[deleted] Nov 24 '20

[deleted]

1

u/gohom92 Nov 24 '20

Good question, you can implement your own backdrop easily, however it is already in the v2 roadmap

https://github.com/gorhom/react-native-bottom-sheet/issues/75

0

u/[deleted] Nov 24 '20

[deleted]

1

u/gohom92 Nov 24 '20

The backdrop shouldnโ€™t be provided as background, it has to be next to the bottom sheet at the parent node, then it has to be touchable without feedback component, the rest as you implemented it

2

u/[deleted] Aug 12 '20

[removed] โ€” view removed comment