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

react-relative-portal

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-relative-portal - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

6

dist/Portal.js

@@ -57,4 +57,6 @@ 'use strict';

_this.handleOutClick = function (e) {
if (!isDescendant(_reactDom2.default.findDOMNode(_this.element), e.target)) {
_this.props.onOutClick();
if (typeof _this.props.onOutClick === 'function') {
if (!isDescendant(_reactDom2.default.findDOMNode(_this.element), e.target)) {
_this.props.onOutClick();
}
}

@@ -61,0 +63,0 @@ };

@@ -45,2 +45,3 @@ 'use strict';

document.body.addEventListener('mousewheel', (0, _debounce2.default)(fireListeners, 100, true));
window.addEventListener('resize', (0, _debounce2.default)(fireListeners, 50, true));
}

@@ -47,0 +48,0 @@

{
"name": "react-relative-portal",
"version": "1.1.2",
"version": "1.1.3",
"description": "React component for place dropdowns outside overflow: hidden; elements",

@@ -5,0 +5,0 @@ "main": "dist/RelativePortal.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