@xwadex/fesd 0.0.59 → 0.0.61
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.
|
@@ -2373,7 +2373,7 @@ class Xi extends HTMLElement {
|
|
|
2373
2373
|
return t.querySelector(".dropdown-scroller .filter-bar") ? e : t.querySelector(".filter-bar").clientHeight + e;
|
|
2374
2374
|
return e;
|
|
2375
2375
|
};
|
|
2376
|
-
return
|
|
2376
|
+
return t.getAttribute("d4-portal") !== "true" && ze(), t.setAttribute("d4-status", "open"), t.setAttribute("d4-default-height", o()), t.getAttribute("d4-portal") == "true" ? (t.s.dropdownEl.style.setProperty("--maxHeight", `${o()}px`), t.s.dropdownEl.style.zIndex = "9999", d(this, rt, Be).call(this), t.s.dropdownEl.offsetHeight, t.s.dropdownEl.style.height = `${o()}px`, t.__events__._scrollUpdate = () => {
|
|
2377
2377
|
var r;
|
|
2378
2378
|
const a = t.getBoundingClientRect();
|
|
2379
2379
|
a.bottom < 0 || a.top > window.innerHeight ? t.close() : d(r = t, rt, Be).call(r);
|
|
@@ -2407,7 +2407,7 @@ Xt = new WeakSet(), Ui = function() {
|
|
|
2407
2407
|
const t = this, e = t.getBoundingClientRect(), s = t.s.dropdownEl;
|
|
2408
2408
|
s.style.position = "fixed", s.style.overflow = "hidden", s.style.left = `${e.left}px`, s.style.width = `${e.width}px`;
|
|
2409
2409
|
const o = parseInt(s.style.height) || s.scrollHeight;
|
|
2410
|
-
window.innerHeight - e.bottom < o && e.top > o ? s.style.top = `${e.top
|
|
2410
|
+
window.innerHeight - e.bottom < o && e.top > o ? (s.style.top = "auto", s.style.bottom = `${window.innerHeight - e.top + 5}px`) : (s.style.top = `${e.bottom + 5}px`, s.style.bottom = "auto");
|
|
2411
2411
|
}, Yt = new WeakSet(), Fi = function() {
|
|
2412
2412
|
var s;
|
|
2413
2413
|
const t = this;
|