Skip to content

Commit c4ac692

Browse files
committed
fix(modal): removing unnecessary redundant if check
1 parent b86eb67 commit c4ac692

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,7 @@ export const createSheetGesture = (
430430
* This can cause issues if the user has a modal with content that can be dragged, as we'll
431431
* swap to moving on drag and if we don't swap back here then the footer will get stuck.
432432
*/
433-
if (!expandToScroll) {
434-
swapFooterPosition('stationary');
435-
}
433+
swapFooterPosition('stationary');
436434
return;
437435
}
438436

0 commit comments

Comments
 (0)