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

rc-dialog

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-dialog - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

9

lib/Dialog.js

@@ -40,5 +40,2 @@ /** @jsx React.DOM */

this.componentDidUpdate();
if (this.props.visible) {
React.findDOMNode(this.refs.dialog).focus();
}
},

@@ -51,5 +48,9 @@

this.monitorWindowResize();
if (!this.lastVisible) {
React.findDOMNode(this.refs.dialog).focus();
}
} else {
this.unMonitorWindowResize();
}
this.lastVisible = props.visible;
},

@@ -95,3 +96,3 @@

<div {...maskProps} className={prefixClsFn(prefixCls, 'mask')}/>
<div className={[prefixClsFn(prefixCls,''), props.className].join(' ')} tabIndex="0" role="dialog" ref='dialog' style={style}>
<div className={[prefixClsFn(prefixCls, ''), props.className].join(' ')} tabIndex="0" role="dialog" ref='dialog' style={style}>
<div className={prefixClsFn(prefixCls, 'content')}>

@@ -98,0 +99,0 @@ <div className={prefixClsFn(prefixCls, 'header')}>

{
"name": "rc-dialog",
"version": "4.0.2",
"version": "4.0.3",
"description": "dialog ui component for react",

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

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