arengibook 1.2.1-main → 1.2.2-main

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 +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13944,7 +13944,14 @@ var DatePicker = function DatePicker(_ref) {
13944
13944
  var overlay = (_calendarRef$current = calendarRef.current) === null || _calendarRef$current === void 0 ? void 0 : _calendarRef$current.getOverlay();
13945
13945
  var input = inputRef.current;
13946
13946
  if (overlay && input) {
13947
+ var customContent = overlay.querySelector('.dp-monthyear-header');
13948
+ if (customContent) {
13949
+ overlay.style.minHeight = customContent.offsetHeight + 'px';
13950
+ }
13947
13951
  DomHandler.absolutePosition(overlay, input);
13952
+ if (customContent) {
13953
+ overlay.style.minHeight = '';
13954
+ }
13948
13955
  }
13949
13956
  };
13950
13957
  var cleanupScrollListeners = function cleanupScrollListeners() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "1.2.1-main",
4
+ "version": "1.2.2-main",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {