How to Present a React Native Bottom Sheet

  Рет қаралды 52,754

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 98
@robinsonsimon5835
@robinsonsimon5835 Жыл бұрын
Cool stuff. Exactly what I was looking for.
@galaxies_dev
@galaxies_dev Жыл бұрын
Happy to help :)
@Furiac.
@Furiac. 5 ай бұрын
love your approach to tutorials, this is the second one that has helped me
@danielfernandez5709
@danielfernandez5709 2 ай бұрын
Grate tutorial Simon!! Thanks for sharing this content!
@penguinxed
@penguinxed 8 ай бұрын
Thanks sir Simon for this tutorial, been looking for a clear and concise tutorial of this package. Cheers! :)
@galaxies_dev
@galaxies_dev 8 ай бұрын
You're very welcome!
@galaxies_dev
@galaxies_dev Жыл бұрын
Become an Expert React Native Developer @ Galaxies.dev and join our space crew 🚀
@godsonokezie5570
@godsonokezie5570 Жыл бұрын
Thanks for this Lovely tutorial. Would love to know if this package could be used without the snap points? what if i want the bottom sheet to take only height of its child and not a height based on snap points.
@godsonokezie5570
@godsonokezie5570 Жыл бұрын
I have found the solution to this, incase anyone else has this same question. All you need to do is set "enableDynamicSizing" to true and ensure you are using a instead of a .
@galaxies_dev
@galaxies_dev Жыл бұрын
Thanks for leaving your solution!
@rafaelcustodio5496
@rafaelcustodio5496 2 ай бұрын
@@godsonokezie5570, your comment just save me
@MarlonEnglemam
@MarlonEnglemam 6 ай бұрын
dude, this lib is just amazing. I have to code the very exact component for the project I'm working on, thought it would be a lot of work, but it's actually quite simples, I'm amazed. Thansk for the vid.
@iam0_o301
@iam0_o301 10 ай бұрын
thank you for this tutorial. It is helping a lot in my project. 😁 Thank you so much.
@galaxies_dev
@galaxies_dev 9 ай бұрын
You are welcome!
@willdunertm5047
@willdunertm5047 Жыл бұрын
I would love a tutorial of headers animation on scroll, like twitter or reddit, where tapping the header scrolls up to the begining. Great video
@galaxies_dev
@galaxies_dev Жыл бұрын
Thanks for the idea, definitely something I will explore :)
@SmitShah-sv7hc
@SmitShah-sv7hc 7 ай бұрын
Very Good Explanation!!! Can you share the vscode extensions you use for developing react-native apps
@muratyasar
@muratyasar 3 ай бұрын
added to my gold list :)
@4nt1g3n
@4nt1g3n 10 ай бұрын
Awesome 🎉...Thank you for this tutorial
@galaxies_dev
@galaxies_dev 10 ай бұрын
My pleasure 😊
@gulammustafa2865
@gulammustafa2865 Ай бұрын
How can we add a semi-transparent backdrop in this bottom sheet because sometimes it feels bottom sheet is not open when the background is also white.
@ntro-p
@ntro-p 10 ай бұрын
Have you tried displaying the BottomSheetModal over an expo-router modal yet? Would be an important caveat to mention.
@galaxies_dev
@galaxies_dev 10 ай бұрын
Haven't tried, maybe you should settle on one type of modal in your app!
@danbennatan2245
@danbennatan2245 9 ай бұрын
Hi! Great video. I am getting struggled with backgroundComponent property of BottomSheetModal. I want to paint the background color with Linear Gradient component, and this property does not seem to work at all, even with simple "red" color. Any idea? That would be super helpful. Thanks!
@mogorhom
@mogorhom Жыл бұрын
very well simplified tutorial
@raymondmichael4987
@raymondmichael4987 Жыл бұрын
Yes this wa quick, 3 detailed use cases in under 30 minutes, nicely done ✅ buddy 😊. Please, do you have a tutorial to configure navigations, drawer, stacks and tabs; using typescript I find it hard to wrap my mind around it. Would like to know the type of routes present and other arguments needed per route by using editor suggestion. Please point to one good tutorial or create a tutorial about. Thanks buddy 😊
@galaxies_dev
@galaxies_dev Жыл бұрын
We have a course on galaxies.dev about both React Navigation and Expo Router and we always use TS - But I will also try to work on something for this channel!
@kshitijkhot1401
@kshitijkhot1401 7 ай бұрын
Great Great !!! I was trying around this lib and messed up everything :( ... After watching your video everything solved ... Thanks man !!! :)
@galaxies_dev
@galaxies_dev 7 ай бұрын
So happy to hear!
@tahaali9543
@tahaali9543 3 ай бұрын
I am not getting about dismiss where to use and how to hide bottom tabs. Can you please explain how it work to hide bottom tabs while opening bottom sheet modal
@bhavishyapatel700
@bhavishyapatel700 Жыл бұрын
Thanks.Great video
@jadeskarlet
@jadeskarlet Ай бұрын
i need help it seems you cannot scroll in the bottom sheet. you can't use scrollview or flatlist, scrolling just isn't possible in it can it be solved?
@przemekdanysz53
@przemekdanysz53 Жыл бұрын
Cool, this is what I was looking for! :)
@galaxies_dev
@galaxies_dev Жыл бұрын
Happy I could help!
@ChungKang
@ChungKang 9 ай бұрын
Great Tutorial, thank you!
@galaxies_dev
@galaxies_dev 9 ай бұрын
Glad it was helpful!
@fgauna12
@fgauna12 4 ай бұрын
I've used this library but it has some bad bugs like the one in 17:23. And on small devices the bottom sheet collapses with text inputs and keyboard showing. Also, it might be due to the fact that it supports Reanimated 1 and 2 but not 3. The maintainer doesn't seem very active anymore and some open issues on GitHub are just sitting there. :-(
@urxxxxxx
@urxxxxxx 16 күн бұрын
hi, thank you for your videos. But i tried on the new expo router tabs, the bottom sheet seems doesn't work. It won't display.
@Flamebamboo
@Flamebamboo 22 сағат бұрын
Hey same how did u do fix it?
@tttadmin7508
@tttadmin7508 7 ай бұрын
I want bottom sheet to appear when background fcm notification comes any solution or suggestion?
@yashrajysjdsnvxje-lv5ez
@yashrajysjdsnvxje-lv5ez 11 ай бұрын
I am having issue while creating a custom component for bottomsheetmodal, I am following the same step but in js file and getting error as present is not a function, please help how to fix it
@DariaBrinza-w7u
@DariaBrinza-w7u 7 ай бұрын
Hi! How do you trigger the keyboard to open?
@mfaizhussain7
@mfaizhussain7 7 ай бұрын
Hello Mr. Simon can you suggest an installation and setup video for react native from your channel or some other?
@galaxies_dev
@galaxies_dev 7 ай бұрын
I'd follow the Expo docs!
@mfaizhussain7
@mfaizhussain7 7 ай бұрын
@@galaxies_dev I mean for windows any tutorial fro setup and installation I know about the docs
@spnzchTV
@spnzchTV 8 ай бұрын
I have error with it. This works with JavaScript or only TypeScript ?
@ImGamerGuy
@ImGamerGuy 7 ай бұрын
backdropComponent doesn't overlap Navigation header, im facing this issue
@ma15jiachi
@ma15jiachi 10 ай бұрын
Hello, can you help me? after updating react-native to 73.0.1 I got this error cannot read property version of undefined
@raymondmichael4987
@raymondmichael4987 Жыл бұрын
Cool stuff 😊❤ I love it 🥰
@galaxies_dev
@galaxies_dev Жыл бұрын
Thank you 🤗
@Amitkumar-ps1dt
@Amitkumar-ps1dt Жыл бұрын
You are just awesome Plz make a video how to create a sidebar in native
@galaxies_dev
@galaxies_dev Жыл бұрын
Thanks mate, will try!
@exoticcoder5365
@exoticcoder5365 6 ай бұрын
24:21 "I really like this spread ... here " me too 😂😂😂 your little laugh made me laugh together too
@DebasmitaPradhan-r3b
@DebasmitaPradhan-r3b Ай бұрын
This usefull ❤
@chabelbossa
@chabelbossa 7 ай бұрын
I'm having an issue in my app where the bottom sheet only takes up the available space, which prevents me from placing other components on the page. How can I fix this?
@bereketg5609
@bereketg5609 4 ай бұрын
remove the outer view which is found outer of
@hugopinho9534
@hugopinho9534 Жыл бұрын
Great video!!!
@galaxies_dev
@galaxies_dev Жыл бұрын
Glad you liked it - would be awesome if you could share it!
@kingnothingfpv2303
@kingnothingfpv2303 Ай бұрын
The problem with the BottomSheet is, you can not have it initially closed... if you set index = -1 it comes initially closed... but when you try to open it, it does not expand anyway... can you please show how to do that...
@kingnothingfpv2303
@kingnothingfpv2303 Ай бұрын
If you set index on BottomSheet to -1 to close it initially... If you only have 1 snapPoint (lets say 50%) it won't work... it does not open the bottomsheet whenever you trigger ref.current.expand
@emanuelmejia4525
@emanuelmejia4525 11 ай бұрын
My BottomSheetModal is mounted before I called, Did you know why?
@Lee-r1w1s
@Lee-r1w1s 8 ай бұрын
Hi, what tool do you use for drawing on your screen?
@galaxies_dev
@galaxies_dev 8 ай бұрын
Think it's called Screenbrush on Mac app store
@AssakurA1
@AssakurA1 Жыл бұрын
Good video! Hey, What version of react-native, reanimated and gesture-handle use? I try install with different version and no successfull on android ((
@galaxies_dev
@galaxies_dev Жыл бұрын
Reanimated 3.3, gesture-handler 2.12, react-native 0.72
@AssakurA1
@AssakurA1 Жыл бұрын
@@galaxies_dev thanks a lot!
@sweetnovember75
@sweetnovember75 Жыл бұрын
Good stuff!
@galaxies_dev
@galaxies_dev Жыл бұрын
Glad you enjoyed it
@shabastech
@shabastech 11 ай бұрын
thanks for you so much 😊👍
@galaxies_dev
@galaxies_dev 10 ай бұрын
Happy to hear - share the video if you enjoyed it ✌️
@Akbar-b1b
@Akbar-b1b 10 ай бұрын
great video
@galaxies_dev
@galaxies_dev 10 ай бұрын
Glad you enjoyed it!
@woorix
@woorix 6 ай бұрын
how to dismiss BottomSheetModal, when user touches backdrop area?
@woorix
@woorix 6 ай бұрын
need to set `pressBehavior` as `close` for `BottomSheetBackdrop`
@HashirQureshi-i8p
@HashirQureshi-i8p 4 ай бұрын
how would i close it by tapping outside the bottom sheet
@jadeskarlet
@jadeskarlet Ай бұрын
i think you will have to use tochablewithoutfeedback on that area and set the onPress to close the bottomsheet. haven't tried it but try and see
@aslamiliyas7703
@aslamiliyas7703 Жыл бұрын
please can you help me the modal should not be open by default unless i call it to open please what can i add
@galaxies_dev
@galaxies_dev Жыл бұрын
In that case you are looking more for a modal - we cover that at the end of the video as well!
@mariamaspoli
@mariamaspoli 11 ай бұрын
I made it work by setting index to -1. Like this: index={-1}
@chriscranston6117
@chriscranston6117 Жыл бұрын
hey simon, is this working with android do you know? the repo says "seemless keyboard for IOS and android" but modals are different on android.
@galaxies_dev
@galaxies_dev Жыл бұрын
I think it should work fine on Android as well!
@bread_winner
@bread_winner Жыл бұрын
I've been trying to use this package for the last week on a fresh expo app, and it just does not work. It keeps erroring on launch, saying '_measureFabric' is not defined. I've tried everything but no luck, and I couldn't find any help online either. If you or anyone knows how to fix it, please help 😭
@alwazkazi1916
@alwazkazi1916 9 ай бұрын
same here it doesnt work
@bread_winner
@bread_winner 9 ай бұрын
@@alwazkazi1916 If you’re using bun, make sure you are using the latest version. My error happened because my version of bun had a bug with installing packages, upgrading bun to the latest version fixed all my issues.
@amarnathnani3950
@amarnathnani3950 Жыл бұрын
Customize reusable modal in react native
@cornkobcob
@cornkobcob 3 ай бұрын
Vielen vielen dank!
@mechwar
@mechwar 11 ай бұрын
PanGestureHandler error and cannot use the BottomSheet.
@aakrisri525
@aakrisri525 7 ай бұрын
Same error, did you find a solution??
@mechwar
@mechwar 7 ай бұрын
@@aakrisri525 no. I just let it for now
@bereketg5609
@bereketg5609 4 ай бұрын
wrap your entire app/the layout file found in your app folder with this {your component}
@mjeevansai9011
@mjeevansai9011 4 ай бұрын
Any solution
@mechwar
@mechwar 4 ай бұрын
@@mjeevansai9011 No. gave up. now creating PWAs that are amazing.
@PiyushKhade-q9c
@PiyushKhade-q9c 11 ай бұрын
hey, while following the code i was trying, const handleClosePress=bottomSheetRef.current but the 'current' is not showing and so its throwing error please help. by the way nice work.
5 React Native Tips to WOW Your Users
16:36
Simon Grimm
Рет қаралды 32 М.
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 30 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 179 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 10 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,7 МЛН
Building a BottomSheet from scratch in React Native
31:18
Reactiive
Рет қаралды 94 М.
10 Essential React Native Tips Every Developer Must Know
12:07
Simon Grimm
Рет қаралды 17 М.
How to Make a Bottom Sheet with React Native Reanimated
9:36
Software Mansion
Рет қаралды 30 М.
The Future of React Native?
16:23
Simon Grimm
Рет қаралды 2 М.
Tailwind is going Mobile
13:02
Simon Grimm
Рет қаралды 30 М.
10 Must-Have React Native Components 😎
10:12
Simon Grimm
Рет қаралды 63 М.
Blur Bottom Sheet using React Navigation | React Native Expo Tutorial
37:22
React Native vs Flutter - Which should you use?
22:31
Simon Grimm
Рет қаралды 49 М.
Может ли перегореть фонарик?
0:52
Newtonlabs
Рет қаралды 933 М.
Handy remote!
0:25
LeraKek
Рет қаралды 7 МЛН
1000 Phone Seve Memory Keypad Mobile 2024
0:43
Tech Official
Рет қаралды 1,2 МЛН
Samsung S4 win this 💀 #trollface #troll #trending #trend #viral
0:19
Okotanis Gaming
Рет қаралды 14 МЛН
«Осень». Самая большая загадка Windows XP
14:36
Девять десятых
Рет қаралды 1,4 МЛН