Skip to content

Commit 382bfa5

Browse files
committed
fix(Viewport): compute value for resizing correctly
1 parent 577ccbe commit 382bfa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/mini-app/src/Viewport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const init = (options: {
7474
height,
7575
stableHeight: is_state_stable ? height : prev.stableHeight,
7676
expanded: is_expanded,
77-
resizing: is_state_stable,
77+
resizing: !is_state_stable,
7878
}))
7979
})
8080
bridge.on('safe_area_changed', ({ top, bottom, left, right }) => {

0 commit comments

Comments
 (0)