Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-remove-scroll

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-remove-scroll - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/es2015/handleScroll.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc