-
-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BottomSheet is now lower #294
Comments
hi @kickbk , i will investigate it later 👍 |
Same for 3.3.1 |
@chybisov hmm interesting , so |
@chybisov sorry, it started in 3.3.0, I just mention that this is also the case for latest v3. |
@kickbk as a temporary workaround you can add bottomInset to your snapPoints.
If you use
Hope this will be fixed soon, as I don't like put snapPoints inside component logic, much better to keep these as constant array outside of component. 😃 |
@chybisov thanks, but yeah, I would avoid that. |
i found the issue, working on a fix 🛠 |
Just checked. It changed for sure, but now it's too high ;) Mind you, I haven't tweaked anything since upgrading, so it's not too high because of a workaround I introduced |
are you using BottomSheet or BottomSheetModal ? |
Both |
could you check your top and bottom insets, now it should work as expected and will cut off these insets |
Oh, I think was supposed to add the It's probably important to share how I use the BottomSheet/ BottomSheetModal.
Then
Finally, My search screen looks like this:
the 60 is because I push the search bar inside the modal above the navigation bar. Just like your example with the map does. As I mentioned, now that I update the Does this help? |
Ask your Question
@gorhom I just installed 2.2.0 and saw my bottomsheet sank by about 20px. Is that since the new
bottomInset
option was introduced?I tried adding the option with
bottomInset={bottomSafeArea}
and updated my function toconst { top: topSafeArea, bottom: bottomSafeArea } = useSafeAreaInsets();
but that didn't fix it.What's going on? how do I fix this?
The text was updated successfully, but these errors were encountered: