Skip to content

Commit 74f1054

Browse files
committed
1 parent aa047a9 commit 74f1054

File tree

2 files changed

+5
-0
lines changed
  • ts/WoltLabSuite/Core/Ui/Dropdown
  • wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dropdown

2 files changed

+5
-0
lines changed

ts/WoltLabSuite/Core/Ui/Dropdown/Simple.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ function onScroll() {
6969
const menu = _menus.get(dropdown.id) as HTMLElement;
7070
if (!Core.stringToBool(menu.dataset.dropdownIgnorePageScroll || "")) {
7171
UiDropdownSimple.close(containerId);
72+
} else {
73+
UiDropdownSimple.setAlignment(dropdown, _menus.get(containerId)!);
7274
}
7375
}
7476
}

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dropdown/Simple.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)