Fix the behavior of the user menu on window resize
authorAlexander Ebert <ebert@woltlab.com>
Wed, 13 Jul 2022 14:42:26 +0000 (16:42 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 13 Jul 2022 14:42:26 +0000 (16:42 +0200)
commit67965851e9a73a36ad274984524125579d3044cf
treedd423cbaadbeed962a98ca58c9c9bf30b3d9c2a0
parent036a563bcd9d2f0ee7e5f3a963a7ee57ef2f8531
Fix the behavior of the user menu on window resize

The menu previously did not update its position when the window is resized. It was also not automatically hidden when the window becomes so narrow that the mobile UI is enabled.

See https://www.woltlab.com/community/thread/296237-benutzerbereich-verhalten-bei-fenstergr%C3%B6%C3%9Fenver%C3%A4nderung/
ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js