react-remove-scroll
Advanced tools
Comparing version 2.4.2 to 2.4.3
@@ -20,2 +20,6 @@ var elementCouldBeVScrolled = function (node) { | ||
do { | ||
// Skip over shadow root | ||
if (typeof ShadowRoot !== "undefined" && current instanceof ShadowRoot) { | ||
current = current.host; | ||
} | ||
var isScrollable = elementCouldBeScrolled(axis, current); | ||
@@ -22,0 +26,0 @@ if (isScrollable) { |
@@ -22,2 +22,6 @@ "use strict"; | ||
do { | ||
// Skip over shadow root | ||
if (typeof ShadowRoot !== "undefined" && current instanceof ShadowRoot) { | ||
current = current.host; | ||
} | ||
var isScrollable = elementCouldBeScrolled(axis, current); | ||
@@ -24,0 +28,0 @@ if (isScrollable) { |
{ | ||
"name": "react-remove-scroll", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"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
978
49505
46