@xwadex/fesd 0.0.60 → 0.0.62

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.
@@ -908,13 +908,12 @@ function ji(n) {
908
908
  }
909
909
  function zi(n) {
910
910
  const i = ji(n);
911
- Q += 1, Q === 1 && (document.documentElement.classList.add("scrollLock"), Os(i));
911
+ Q += 1, Q === 1 && document.documentElement.classList.add("scrollLock"), Os(i);
912
912
  }
913
913
  function Bi(n) {
914
- if (Q = Math.max(0, Q - 1), Q === 0) {
915
- const i = ji(n);
916
- Ps(i), document.documentElement.classList.remove("scrollLock");
917
- }
914
+ Q = Math.max(0, Q - 1);
915
+ const i = ji(n);
916
+ Ps(i), Q === 0 && document.documentElement.classList.remove("scrollLock");
918
917
  }
919
918
  async function In(n = 0) {
920
919
  if (f(".loading-wrapper").length)
@@ -2407,7 +2406,7 @@ Xt = new WeakSet(), Ui = function() {
2407
2406
  const t = this, e = t.getBoundingClientRect(), s = t.s.dropdownEl;
2408
2407
  s.style.position = "fixed", s.style.overflow = "hidden", s.style.left = `${e.left}px`, s.style.width = `${e.width}px`;
2409
2408
  const o = parseInt(s.style.height) || s.scrollHeight;
2410
- window.innerHeight - e.bottom < o && e.top > o ? s.style.top = `${e.top - o}px` : s.style.top = `${e.bottom}px`;
2409
+ 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
2410
  }, Yt = new WeakSet(), Fi = function() {
2412
2411
  var s;
2413
2412
  const t = this;