Skip to content

Commit 7d7d5d6

Browse files
committed
restore old fallback selection clearing behaviour
1 parent 104d731 commit 7d7d5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sortable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
720720
_nextTick(() => {
721721
document.selection.empty();
722722
});
723-
} else if (this.nativeDraggable) {
723+
} else {
724724
window.getSelection().removeAllRanges();
725725
}
726726
} catch (err) {

0 commit comments

Comments
 (0)