Skip to content

fix(bottomsheet): fix an issue that results in a collapsed bottomshee…#2640

Open
jspizziri wants to merge 1 commit intogorhom:masterfrom
5-stones:fix/chrome-zoom
Open

fix(bottomsheet): fix an issue that results in a collapsed bottomshee…#2640
jspizziri wants to merge 1 commit intogorhom:masterfrom
5-stones:fix/chrome-zoom

Conversation

@jspizziri
Copy link
Copy Markdown

…t from being visible

in chrome a collapsed bottom sheet will be visible under certain circumstances when the user is zoomed out due to in incorrectly calculated closed position. this issue is more prominent during window resizes while zoomed out.

fix #2639

Please provide enough information so that others can review your pull request:

Motivation

This issue solves #2639

…t from being visible

in chrome a collapsed bottom sheet will be visible under certain circumstances when the user is
zoomed out due to in incorrectly calculated closed position. this issue is more prominent during
window resizes while zoomed out.

fix gorhom#2639
TwanLuttik added a commit to TwanLuttik/react-native-bottom-sheet that referenced this pull request Apr 8, 2026
- Fix gorhom#2640: INITIAL_POSITION now uses Math.max(SCREEN_HEIGHT, WINDOW_HEIGHT) to handle web viewport resizing
- Fix gorhom#2533: Account for scrollableContentOffsetY when calculating destinationPoint to fix scroll jumpy issue; change map to forEach for biome compliance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Bottom sheet visible when closed on web at browser zoom levels below 100%

1 participant