🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-overflow

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-overflow - npm Package Compare versions

Comparing version

to
0.2.1

4

lib/ResizeDetector.js

@@ -64,3 +64,5 @@ 'use strict';

value: function componentWillUnmount() {
this.domElement.contentDocument.defaultView.removeEventListener('resize', this.props.onResize);
if (this.domElement.contentDocument) {
this.domElement.contentDocument.defaultView.removeEventListener('resize', this.props.onResize);
}
}

@@ -67,0 +69,0 @@ }, {

{
"name": "react-overflow",
"version": "0.2.0",
"version": "0.2.1",
"description": "A React component that detects when it's overflowed by its content",

@@ -5,0 +5,0 @@ "keywords": [

# react-overflow
[![npm version](https://badge.fury.io/js/react-overflow.svg)](https://badge.fury.io/js/react-overflow)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/nickuraltsev/react-overflow/master/LICENSE)
A React component that detects when it's overflowed by its content.

@@ -4,0 +7,0 @@