@m1z23r/ngx-ui 1.1.32 → 1.1.33
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.
|
@@ -1793,6 +1793,7 @@ class SelectComponent {
|
|
|
1793
1793
|
dropdown.style.left = '';
|
|
1794
1794
|
dropdown.style.bottom = '';
|
|
1795
1795
|
dropdown.style.width = '';
|
|
1796
|
+
dropdown.style.minWidth = '';
|
|
1796
1797
|
dropdown.style.zIndex = '';
|
|
1797
1798
|
dropdown.style.margin = '';
|
|
1798
1799
|
this.removePositionListeners();
|
|
@@ -1809,7 +1810,7 @@ class SelectComponent {
|
|
|
1809
1810
|
const spaceAbove = triggerRect.top;
|
|
1810
1811
|
const openAbove = spaceBelow < dropdownHeight + gap && spaceAbove > spaceBelow;
|
|
1811
1812
|
dropdown.style.position = 'fixed';
|
|
1812
|
-
dropdown.style.
|
|
1813
|
+
dropdown.style.minWidth = `${triggerRect.width}px`;
|
|
1813
1814
|
dropdown.style.left = `${triggerRect.left}px`;
|
|
1814
1815
|
dropdown.style.zIndex = '99999';
|
|
1815
1816
|
dropdown.style.margin = '0';
|