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 e958e5e commit fedefa3Copy full SHA for fedefa3
core/src/components/modal/gestures/sheet.ts
@@ -268,8 +268,9 @@ export const createSheetGesture = (
268
* the scrollable content, we should not allow the swipe gesture to continue.
269
*/
270
if (!expandToScroll && detail.deltaY <= 0) {
271
- const contentEl = findClosestIonContent(detail.event.target! as HTMLElement)
272
- const scrollEl = contentEl && isIonContent(contentEl) ? getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
+ const contentEl = findClosestIonContent(detail.event.target! as HTMLElement);
+ const scrollEl =
273
+ contentEl && isIonContent(contentEl) ? getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
274
if (scrollEl) {
275
return;
276
}
0 commit comments