]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
(partially) fix #1223: add touchscreen override for extjs
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 30 Mar 2018 07:48:41 +0000 (09:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Mar 2018 08:10:46 +0000 (10:10 +0200)
commitaea77b2c6917b472b29f84dbf4bb03f49d711fb5
tree76b39ed57c3796afe295c45e35bf34e6c35b1430
parentfde8e8bbb938a62a1b6265e588bec86c5c8036f0
(partially) fix #1223: add touchscreen override for extjs

the combination of firefox, touchscreen, mouse input and extjs
prevents normal click/touch input for buttons, lists, etc.

the workaround on firefox was to set
dom.w3c_touch_events.enabled
to 0 (in about:config)

or to upgrade to extjs >= 6.5.1 (of which there is no gpl release as of now)

so we introduce that workaround as it seems to not disrupt 'normal'
browsers and non-touchscreen devices

we then still have an issue with scrolling though, since extjs
now expects the user to drag the content instead of using the wheel

but it is still better than a completely non working interface

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