react-remove-scroll
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -1,2 +0,2 @@ | ||
var elementCouldBeScrolled = function (node) { return (window.getComputedStyle(node).overflowX !== 'hidden'); }; | ||
var elementCouldBeScrolled = function (node) { return (window.getComputedStyle(node).overflowY !== 'hidden'); }; | ||
export var handleScroll = function (endTarget, event, sourceDelta) { | ||
@@ -3,0 +3,0 @@ var delta = sourceDelta; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var elementCouldBeScrolled = function (node) { return (window.getComputedStyle(node).overflowX !== 'hidden'); }; | ||
var elementCouldBeScrolled = function (node) { return (window.getComputedStyle(node).overflowY !== 'hidden'); }; | ||
exports.handleScroll = function (endTarget, event, sourceDelta) { | ||
@@ -5,0 +5,0 @@ var delta = sourceDelta; |
{ | ||
"name": "react-remove-scroll", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Disables scroll outside of `children` node.", | ||
@@ -5,0 +5,0 @@ "main": "dist/es5/index.js", |
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