FileUltimate not compatible with touch devices
Problem reported by Alexandre Boucher - December 5, 2016 at 8:35 AM
When embedding FileUltimate in my page as a modal, the corresponding page is no longer usable on a mobile device, as scrolling with touch is not working. This is caused by the "Ext" script that you reference which makes a "preventDefault()" call on the "touchmove" event of the document. Also, when opening FileUltimate with a touch device, folders on the left column of the explorer are not clickable and therefore no navigation can be made from one root folder to another.
Tested on Chrome with touch emulation and on 2 different android devices with Chrome.
For the moment, I use the following code in my document head to get around the scrolling problem. It's not beautiful at all, but at least it works...
var oldDocumentAddEventListener = document.addEventListener;

document.addEventListener = function(a, b, c) {
    if (a !== "touchmove") {
        oldDocumentAddEventListener(a, b, c);
Since I am now able to scroll using this fix, it's better, but when I scroll down in the page, FileUltimate script somehow take me back at the top of the page, once in a while. This only happens when FileUltimate script is referenced on the page and not even opened (as I use the Modal). This new problem seems only to be reproducible on an Android device and not while emulating a mobile device with Chrome Desktop.

1 Reply

Reply to Thread
Cem Alacayir Replied
January 11 at 3:59 AM
Employee Post
FYI, FileUltimate 5.7.0 is released and it includes an improvement for scrolling in mobile devices:
Improved: Pinch and double-tap gestures (zoom in and out) on mobile devices.
This should solve your issue.

Reply to Thread