shineout 2.0.5-beta.1 → 2.0.5-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/DatePicker/Container.js +4 -3
- package/css/index.js +1 -1
- package/dist/shineout.js +393 -357
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/DatePicker/Container.js +4 -3
- package/es/index.js +1 -1
- package/lib/DatePicker/Container.js +4 -3
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -372,8 +372,8 @@ function (_PureComponent) {
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
if (focus === true) {
|
|
375
|
-
this.firstRender = true
|
|
376
|
-
|
|
375
|
+
// this.firstRender = true
|
|
376
|
+
// this.props.onFocus()
|
|
377
377
|
this.bindClickAway();
|
|
378
378
|
} else {
|
|
379
379
|
this.props.onValueBlur();
|
|
@@ -621,7 +621,8 @@ function (_PureComponent) {
|
|
|
621
621
|
_proto.renderPicker = function renderPicker() {
|
|
622
622
|
var _this9 = this;
|
|
623
623
|
|
|
624
|
-
if (!this.firstRender) return undefined;
|
|
624
|
+
if (!this.firstRender && !this.focus) return undefined;
|
|
625
|
+
this.firstRender = true;
|
|
625
626
|
var _this$props8 = this.props,
|
|
626
627
|
range = _this$props8.range,
|
|
627
628
|
type = _this$props8.type,
|