File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core/src/components/modal/gestures Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -264,8 +264,8 @@ export const createSheetGesture = (
264264
265265 const onMove = ( detail : GestureDetail ) => {
266266 /**
267- * If `expandToScroll` is disabled, we should not allow the swipe gesture
268- * to continue if the gesture is not pulling down within scrollable content .
267+ * If `expandToScroll` is disabled, and an upwards swipe gesture is done within
268+ * the scrollable content, we should not allow the swipe gesture to continue .
269269 */
270270 if ( ! expandToScroll && detail . deltaY <= 0 ) {
271271 const contentEl = findClosestIonContent ( detail . event . target ! as HTMLElement )
@@ -330,7 +330,7 @@ export const createSheetGesture = (
330330 const onEnd = ( detail : GestureDetail ) => {
331331 /**
332332 * If expandToScroll is disabled, we should not allow the moveSheetToBreakpoint
333- * function to be called if the user is trying to swipe upwards and the content
333+ * function to be called if the user is trying to swipe content upwards and the content
334334 * is not scrolled to the top.
335335 */
336336 if ( ! expandToScroll && detail . deltaY <= 0 && findClosestIonContent ( detail . event . target ! as HTMLElement ) ) {
You can’t perform that action at this time.
0 commit comments