Skip to content
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

fix: use absolute positioning for BottomSheetContainer in web (v5) #1597

Merged

Conversation

viljark
Copy link
Contributor

@viljark viljark commented Oct 26, 2023

Motivation

With fixed positioning in web, the non-modal bottom sheet is not getting along with bottom tab navigator and is displayed under it.
Using absolute allows BottomSheetContainer to be positioned relatively to containing elements instead of the viewport.

In native iOS/Android it is working as expected with bottom tab navigator.

Before
image

After
image

@viljark viljark changed the title fix: use absolute positioning for BottomSheetContainer in web fix: use absolute positioning for BottomSheetContainer in web (v5) Oct 26, 2023
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@viljark
Copy link
Contributor Author

viljark commented Nov 26, 2023

Not stale

Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@viljark
Copy link
Contributor Author

viljark commented Dec 28, 2023

Not stale

@gorhom gorhom self-assigned this Jan 1, 2024
@gorhom gorhom added the v5 label Jan 1, 2024
@gorhom gorhom merged commit d6e3dc9 into gorhom:v5 Jan 1, 2024
@gorhom
Copy link
Owner

gorhom commented Jan 1, 2024

thanks @viljark for submitting this PR, it will be published on the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants