Fix the overlay container being stuck in dialogs
authorAlexander Ebert <ebert@woltlab.com>
Mon, 11 Dec 2023 16:33:01 +0000 (17:33 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 11 Dec 2023 16:33:01 +0000 (17:33 +0100)
commit8d375357780a3bcf5e73222e5e801b0659ca2c17
treea65c47c6fcf8f623fe75d422fe711c2e665c73b2
parentb87072e16c8964e1af6e7dbab5e8df7c298b8f8e
Fix the overlay container being stuck in dialogs

The `MutationObserver` is an async process that does not reliably fire when a property is mutated repeatedly within a short time.

See https://www.woltlab.com/community/thread/303449-url-einem-bild-zuweisen-erst-nach-speichern-m%C3%B6glich/
See https://www.woltlab.com/community/thread/303397-men%C3%BC-zur-bildpositionierung-%C3%B6ffnet-sich-nicht-nach-dem-einf%C3%BCgen/
ts/WoltLabSuite/Core/Ui/Dialog.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js