Socket
Socket
Sign inDemoInstall

react-portal

Package Overview
Dependencies
2
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

6

lib/portal.js

@@ -82,4 +82,6 @@ import React, {findDOMNode} from 'react';

openPortal(e) {
e.preventDefault();
e.stopPropagation();
if (e) {
e.preventDefault();
e.stopPropagation();
}
this.setState({ active: true });

@@ -86,0 +88,0 @@ this.renderPortal(this.props);

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

"author": "Vojtech Miksu",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",

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

@@ -122,4 +122,6 @@ "use strict";

value: function openPortal(e) {
e.preventDefault();
e.stopPropagation();
if (e) {
e.preventDefault();
e.stopPropagation();
}
this.setState({ active: true });

@@ -126,0 +128,0 @@ this.renderPortal(this.props);

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc