Improved scroll guard for dialogs
authorAlexander Ebert <ebert@woltlab.com>
Fri, 5 May 2017 11:57:29 +0000 (13:57 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 5 May 2017 11:57:29 +0000 (13:57 +0200)
commit1fffd8d0d8af1493e64f905aa2a0356abd985c7a
treea9f49bedf10431405e6a2e4e5f565ede36c4a123
parent3fe11507d3e641677a81ddd5c1a4c5986ff43e4a
Improved scroll guard for dialogs

`event.target` and the parent nodes are now evaluated to allow scrolling
inside overflow containers, while still preventing page scrolling.

See #2237
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js