bianic-ui 1.15.0-alpha.1 → 1.15.0-alpha.2
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/dist/cjs/index.js +1 -2
- package/dist/cjs/lib.css +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/lib.css +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2401,8 +2401,7 @@ var getDropdownStyle = function (anchorRef, dropdownRef) {
|
|
|
2401
2401
|
// AND space above is more than space below
|
|
2402
2402
|
// then flip up
|
|
2403
2403
|
if (spaceToBottom < dropdownHeight && spaceToTop > spaceToBottom) {
|
|
2404
|
-
|
|
2405
|
-
style.top = "".concat(topPositionForFlip, "px");
|
|
2404
|
+
style.bottom = "".concat(window.innerHeight - anchorRect.top, "px");
|
|
2406
2405
|
}
|
|
2407
2406
|
else {
|
|
2408
2407
|
style.top = "".concat(anchorRect.bottom + window.scrollY, "px");
|