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.
@@ -372,8 +372,8 @@ function (_PureComponent) {
372
372
  }
373
373
 
374
374
  if (focus === true) {
375
- this.firstRender = true; // this.props.onFocus()
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,
package/css/index.js CHANGED
@@ -220,6 +220,6 @@ exports.Upload = _Upload.default;
220
220
  // Created by scripts/src-index.js.
221
221
  var _default = {
222
222
  utils: utils,
223
- version: '2.0.5-beta.1'
223
+ version: '2.0.5-beta.2'
224
224
  };
225
225
  exports.default = _default;