]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
Toolkit: update overrides for scroll fixes
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 26 May 2021 08:58:34 +0000 (10:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 May 2021 11:37:36 +0000 (13:37 +0200)
commitd78eb5ec998c43445211af0fab94a65b1d84493e
tree0d2cf3943dc0f5284b2ccfa9d3ae89127d3f7fa9
parentfef7d0247768a0927998b9832a2454e5d01a6540
Toolkit: update overrides for scroll fixes

while some scrolling issues where fixed since 6.0.1, some where introduced,
namely:
* for firefox, the correct event to listen to is 'wheel' not 'mousewheel'
* the spinner scroll direction was incorrect
* the boxOverflow scroll direction was incorrect
* the boxOverflow scroll amount was too high

functions were copied from extjs source, eslintified, and adapted

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/Toolkit.js