arengibook 3.3.3-datepicker → 3.3.5-datepicker

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14055,9 +14055,8 @@ var DatePicker = function DatePicker(_ref) {
14055
14055
  }, []);
14056
14056
  useEffect(function () {
14057
14057
  if (mode !== 'monthYear' || !panelVisibleRef.current) return;
14058
- setTimeout(function () {
14059
- repositionPanel();
14060
- }, 0);
14058
+ repositionPanel();
14059
+ setPanelReady(true);
14061
14060
  }, [mode]);
14062
14061
  var panelClassName = "datepickerbook" + (mode === "monthYear" ? " dp-monthyear-mode" : "") + (story === "year" ? " dp-year-only" : "") + (panelReady ? " dp-ready" : "");
14063
14062
  var wrapperStyle = _objectSpread2({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "3.3.3-datepicker",
4
+ "version": "3.3.5-datepicker",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {