@seafile/seafile-calendar 1.0.7 → 1.0.8

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/es/Picker.js CHANGED
@@ -157,7 +157,9 @@ var _initialiseProps = function _initialiseProps() {
157
157
  });
158
158
  }
159
159
  if (cause.source === 'keyboard' || cause.source === 'dateInputSelect' || !props.calendar.props.timePicker && cause.source !== 'dateInput' || cause.source === 'todayButton') {
160
- _this2.close(_this2.focus);
160
+ if (!_this2.props.isRemainOpen) {
161
+ _this2.close(_this2.focus);
162
+ }
161
163
  }
162
164
  props.onChange(value);
163
165
  };
package/lib/Picker.js CHANGED
@@ -193,7 +193,9 @@ var _initialiseProps = function _initialiseProps() {
193
193
  });
194
194
  }
195
195
  if (cause.source === 'keyboard' || cause.source === 'dateInputSelect' || !props.calendar.props.timePicker && cause.source !== 'dateInput' || cause.source === 'todayButton') {
196
- _this2.close(_this2.focus);
196
+ if (!_this2.props.isRemainOpen) {
197
+ _this2.close(_this2.focus);
198
+ }
197
199
  }
198
200
  props.onChange(value);
199
201
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-calendar",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "React Calendar",
5
5
  "keywords": [
6
6
  "react",