Skip to content

Commit

Permalink
build: rebuilds before pushing to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sashamilenkovic committed Oct 14, 2024
1 parent cc5ab6a commit d0c4cbd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ function handleParentScroll(_data) {
}
function handleDragstart(data, state2) {
const config = data.targetData.parent.data.config;
if (!validateDragstart(data) || !validateDragHandle({
if (touchDevice || !validateDragstart(data) || !validateDragHandle({
x: data.e.clientX,
y: data.e.clientY,
node: data.targetData.node,
Expand Down Expand Up @@ -2073,6 +2073,7 @@ function handleNodeDrop(data, state2) {
}
function handleDragend(data, state2) {
data.e.preventDefault();
data.e.stopPropagation();
if (dropped) {
dropped = false;
return;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.cjs.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ function handleParentScroll(_data) {
}
function handleDragstart(data, state2) {
const config = data.targetData.parent.data.config;
if (!validateDragstart(data) || !validateDragHandle({
if (touchDevice || !validateDragstart(data) || !validateDragHandle({
x: data.e.clientX,
y: data.e.clientY,
node: data.targetData.node,
Expand Down Expand Up @@ -1973,6 +1973,7 @@ function handleNodeDrop(data, state2) {
}
function handleDragend(data, state2) {
data.e.preventDefault();
data.e.stopPropagation();
if (dropped) {
dropped = false;
return;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs.map

Large diffs are not rendered by default.

0 comments on commit d0c4cbd

Please sign in to comment.