Skip to content

Commit 8b4e301

Browse files
committed
fix(sheet): adding expand to scroll check in onFinish swap
1 parent cdc649b commit 8b4e301

File tree

1 file changed

+3
-1
lines changed
  • core/src/components/modal/gestures

1 file changed

+3
-1
lines changed

core/src/components/modal/gestures/sheet.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,9 @@ export const createSheetGesture = (
527527
* the footer position to stationary so that it
528528
* will act as it would by default
529529
*/
530-
swapFooterPosition('stationary');
530+
if (!expandToScroll) {
531+
swapFooterPosition('stationary');
532+
}
531533

532534
/**
533535
* Once the snapping animation completes,

0 commit comments

Comments
 (0)