Skip to content

Commit 25ed124

Browse files
committed
refactor(sheet): removed unnecesary footer visibility swap.
1 parent 917b261 commit 25ed124

File tree

1 file changed

+0
-10
lines changed
  • core/src/components/modal/gestures

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -245,16 +245,6 @@ export const createSheetGesture = (
245245
targetEl && isIonContent(targetEl) ? getElementRoot(targetEl).querySelector('.inner-scroll') : targetEl;
246246
}
247247

248-
/**
249-
* If expandToScroll is disabled, we need to swap
250-
* the footer visibility to the original, so if the modal
251-
* is dismissed, the footer dismisses with the modal
252-
* and doesn't stay on the screen after the modal is gone.
253-
*/
254-
if (!expandToScroll) {
255-
swapFooterVisibility('original');
256-
}
257-
258248
/**
259249
* If we are pulling down, then it is possible we are pulling on the content.
260250
* We do not want scrolling to happen at the same time as the gesture.

0 commit comments

Comments
 (0)