You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awesome package, thank you, but as someone new to RN and bottom sheet, I have a couple of questions. I hope this is the appropriate place to ask them.
I am using BottomSheetModal to mimic the way that Instagram's bottom sheet works when editing your user avatar. In Instagram, a bottom sheet comes up with several choices to pick an image, take a picture, remove the image and get an image from Facebook (I'm not doing the Facebook one and this is not an Instagram clone).
Here are the things I can't figure out:
I'd like to round the corners a bit on the entire sheet (handle and body) but I can't seem to do that.
I want to use this image/photo component in at least 2 different places. Based on the way my screens are structured , I'm wondering if I can/should put the bottom sheet component in the app root so it can be accessed from anywhere. This brings up the question of sharing the Ref to the component. Should I use an RN context to hold the Ref? Is this a bad practice?
I'd love to be able to size the sheet but the modal doesn't seem to be sizeable. Is there any way to control the size?
Modal seemed like the right approach for an image picker/camera component but perhaps I should be using a regular sheet instead (which would also probably solve the sizing and close on background press). Can you provide advice or use cases where modal should be chosen?
When I use BottomSheet instead of BottomSheetModal, making no other changes to the component hierarchy, the sheet no longer rises from the bottom of the screen as it did with BottomSheetModal. I'm clearly not getting where to put things :-). Can you explain?
Once again, I greatly appreciate this package and the excellent work that has gone in to providing this to the community. I do not want to take advantage of your time and would completely understand if these questions require more time than you have.
Thank you,
Peter
Update: I found this #668 which answers my questions on modal vs. non-modal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Awesome package, thank you, but as someone new to RN and bottom sheet, I have a couple of questions. I hope this is the appropriate place to ask them.
I am using BottomSheetModal to mimic the way that Instagram's bottom sheet works when editing your user avatar. In Instagram, a bottom sheet comes up with several choices to pick an image, take a picture, remove the image and get an image from Facebook (I'm not doing the Facebook one and this is not an Instagram clone).
Here are the things I can't figure out:
Once again, I greatly appreciate this package and the excellent work that has gone in to providing this to the community. I do not want to take advantage of your time and would completely understand if these questions require more time than you have.
Thank you,
Peter
Update: I found this #668 which answers my questions on modal vs. non-modal.
Beta Was this translation helpful? Give feedback.
All reactions