@xh/hoist 59.5.0 → 59.5.1
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/CHANGELOG.md
CHANGED
|
@@ -91,7 +91,7 @@ function computeStyleInAgGrid(
|
|
|
91
91
|
|
|
92
92
|
const inputEl = data.instance.reference,
|
|
93
93
|
leftContainer = inputEl.closest('.ag-pinned-left-cols-container'),
|
|
94
|
-
centerContainer = inputEl.closest('.ag-center-cols-
|
|
94
|
+
centerContainer = inputEl.closest('.ag-center-cols-container'),
|
|
95
95
|
rightContainer = inputEl.closest('.ag-pinned-right-cols-container'),
|
|
96
96
|
rowContainer = centerContainer || leftContainer || rightContainer;
|
|
97
97
|
|
|
@@ -143,7 +143,7 @@ function computeStyleInAgGrid(
|
|
|
143
143
|
|
|
144
144
|
// Solve y axis (top). Default position is underneath cell
|
|
145
145
|
// Flips to above if cell is near bottom of grid.
|
|
146
|
-
// If
|
|
146
|
+
// If popper height is greater than grid height, the popper stays in the default position.
|
|
147
147
|
const flipToAbove =
|
|
148
148
|
popperHeight < pcHeight && inputElBottom - scrollTop + popperHeight > pcHeight,
|
|
149
149
|
trTop = flipToAbove ? inputElTop - popperHeight : inputElBottom;
|