I am creating an application for windows using cordova that heavily relies on touch events such as touchstart
and touchmove
. These events work fine in the android and iOS version but they are not fired in the windows version. Instead the browser tries to scroll the page on touches (note: I am calling the event.preventDefault
function on touchstart
. but the event doesn't even fire).
In this case the edge browser has the same behaviour as the cordova app. In edge the is an option when u navigate to about:flags
called enable touch events
when this flag is set to Always on
or Only on when a touchscreen is detected
the application works perfectly. I was wondering if it is plausible to set this flag in the cordova application.