@micromag/core 0.3.182 → 0.3.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/hooks.js +2 -1
- package/lib/hooks.js +2 -1
- package/package.json +2 -2
package/es/hooks.js
CHANGED
|
@@ -292,7 +292,8 @@ function useDragProgress() {
|
|
|
292
292
|
}
|
|
293
293
|
}, [setDragState, disabled, onTap, computeProgress, setDragState, onProgress]);
|
|
294
294
|
var bind = useDrag(onDragContent, {
|
|
295
|
-
filterTaps: true
|
|
295
|
+
filterTaps: true,
|
|
296
|
+
preventDefault: true
|
|
296
297
|
});
|
|
297
298
|
var springedProgress = useSpringValue(progress, dragging || disabled, springParams);
|
|
298
299
|
useEffect(function () {
|
package/lib/hooks.js
CHANGED
|
@@ -330,7 +330,8 @@ function useDragProgress() {
|
|
|
330
330
|
}
|
|
331
331
|
}, [setDragState, disabled, onTap, computeProgress, setDragState, onProgress]);
|
|
332
332
|
var bind = react$1.useDrag(onDragContent, {
|
|
333
|
-
filterTaps: true
|
|
333
|
+
filterTaps: true,
|
|
334
|
+
preventDefault: true
|
|
334
335
|
});
|
|
335
336
|
var springedProgress = useSpringValue(progress, dragging || disabled, springParams);
|
|
336
337
|
react.useEffect(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.184",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "c3a7e9c33338debc3ee2e2f37635ca66ad7c4c30"
|
|
137
137
|
}
|