react-datetime
Advanced tools
Comparing version 2.11.0 to 2.11.1
Changelog | ||
========= | ||
## 2.11.1 | ||
* The open prop should now work as intended | ||
## 2.11.0 | ||
@@ -4,0 +7,0 @@ * onFocus now receives the browser event |
@@ -155,3 +155,5 @@ 'use strict'; | ||
if ( updatedState.open === undefined ) { | ||
if ( this.props.closeOnSelect && this.state.currentView !== 'time' ) { | ||
if ( typeof nextProps.open !== 'undefined' ) { | ||
updatedState.open = nextProps.open; | ||
} else if ( this.props.closeOnSelect && this.state.currentView !== 'time' ) { | ||
updatedState.open = false; | ||
@@ -158,0 +160,0 @@ } else { |
{ | ||
"name": "react-datetime", | ||
"version": "2.11.0", | ||
"version": "2.11.1", | ||
"description": "A lightweight but complete datetime picker React.js component.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/YouCanBookMe/react-datetime", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
527445
4575