Socket
Socket
Sign inDemoInstall

react-portal

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-portal - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

lib/portal.js

@@ -119,3 +119,3 @@ import React from 'react';

if (!this.state.active) { return; }
if (isNodeInRoot(e.target, findDOMNode(this.portal))) { return; }
if (isNodeInRoot(e.target, findDOMNode(this.portal)) || e.target.tagName === 'HTML') { return; }
e.stopPropagation();

@@ -122,0 +122,0 @@ this.closePortal();

@@ -6,3 +6,3 @@ {

"author": "Vojtech Miksu <vojtech@miksu.cz>",
"version": "1.2.0",
"version": "1.3.0",
"license": "MIT",

@@ -9,0 +9,0 @@ "repository": {

Sorry, the diff of this file is too big to display

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