Wednesday, September 5, 2018

APEX 18.1 UT Touch Gestures Fix


If you tried using the build-in Touch Gestures (hamer.js) of APEX 18.1 Universal Theme on your Android device (or Chrome Device Simulation Tool on your desktop), you might have noticed the Swipe and Pan doesn’t work. Here’s how to fix this: add an on-load Dynamic Action and execute this JS snippet:



delete Hammer.defaults.cssProps.userSelect;
Hammer(document.body, {});


(many thanks to Shakeeb)


P.S: You can try/test the Touch Gestures in the Universal Theme Reference Application

No comments:

Post a Comment