intelicoreact 1.3.85 → 1.3.86

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.
@@ -483,7 +483,7 @@ function RangeSlider2(_ref) {
483
483
  const onTriggerMove = e => {
484
484
  var _e$touches$, _e$touches;
485
485
 
486
- e === null || e === void 0 ? void 0 : e.preventDefault();
486
+ if (e !== null && e !== void 0 && e.cancelable) e === null || e === void 0 ? void 0 : e.preventDefault();
487
487
  e === null || e === void 0 ? void 0 : e.stopPropagation();
488
488
 
489
489
  if (!movingTriggerIndex || !movingTrigger) {
@@ -545,8 +545,7 @@ function RangeSlider2(_ref) {
545
545
  if (movingController) {
546
546
  if (isMobile) {
547
547
  document.addEventListener("touchmove", onTriggerMove, {
548
- signal: movingController === null || movingController === void 0 ? void 0 : movingController.signal,
549
- passive: false
548
+ signal: movingController === null || movingController === void 0 ? void 0 : movingController.signal
550
549
  });
551
550
  } else {
552
551
  document.addEventListener("mousemove", onTriggerMove, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.3.85",
3
+ "version": "1.3.86",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [