Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c92ad63

Browse files
committed
fix(sheet): prevent swiping sheet when swiping over enabled sortable
1 parent 9673b0b commit c92ad63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/components/sheet/sheet-class.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ class Sheet extends Modal {
178178
) {
179179
return;
180180
}
181+
if ($(e.target).closest('.sortable-handler').length > 0) return;
182+
181183
isTouched = true;
182184
isMoved = false;
183185
startTouch = {

0 commit comments

Comments
 (0)