We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d527414 commit ae96563Copy full SHA for ae96563
core/src/components/modal/gestures/swipe-to-close.ts
@@ -24,11 +24,11 @@ export const createSwipeToCloseGesture = (
24
return true;
25
}
26
27
- const content = target.closest('ion-content');
28
- if (content === null) {
+ const contentOrFooter = target.closest('ion-content, ion-footer');
+ if (contentOrFooter === null) {
29
30
31
- // Target is in the content so we don't start the gesture.
+ // Target is in the content or the footer so do not start the gesture.
32
// We could be more nuanced here and allow it for content that
33
// does not need to scroll.
34
return false;
0 commit comments