@lani.ground/react-hooks
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -43,5 +43,3 @@ "use strict"; | ||
window.scrollTo({ left: 0, top: scrollRef.current, behavior: 'instant' }); | ||
document.addEventListener('touchmove', cancelScrollEvent, { | ||
passive: false, | ||
}); | ||
document.removeEventListener('touchmove', cancelScrollEvent); | ||
}; | ||
@@ -48,0 +46,0 @@ return { |
@@ -41,5 +41,3 @@ import { useCallback, useRef } from 'react'; | ||
window.scrollTo({ left: 0, top: scrollRef.current, behavior: 'instant' }); | ||
document.addEventListener('touchmove', cancelScrollEvent, { | ||
passive: false, | ||
}); | ||
document.removeEventListener('touchmove', cancelScrollEvent); | ||
}; | ||
@@ -46,0 +44,0 @@ return { |
{ | ||
"name": "@lani.ground/react-hooks", | ||
"description": "react hooks", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"keywords": [ | ||
@@ -73,3 +73,3 @@ "react-hooks", | ||
}, | ||
"gitHead": "edbc9ab5d456073ba4154f0e04a35ae71311eda9" | ||
"gitHead": "b00c5f0bed5455963177549f4ec193906edbbc1c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22741
446