Skip to content

Commit fedefa3

Browse files
committed
lint fix
1 parent e958e5e commit fedefa3

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,9 @@ export const createSheetGesture = (
268268
* the scrollable content, we should not allow the swipe gesture to continue.
269269
*/
270270
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;
271+
const contentEl = findClosestIonContent(detail.event.target! as HTMLElement);
272+
const scrollEl =
273+
contentEl && isIonContent(contentEl) ? getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
273274
if (scrollEl) {
274275
return;
275276
}

0 commit comments

Comments
 (0)