user3326869
user3326869

Reputation: 21

Touch swipe not working in Windows 8 IE 10 phone

we have tried capturing the event using following code in our JQuery.. but swipe is not working.

if (window.navigator.msPointerEnabled) {
  this.element.addEventListener("MSPointerDown", eventHandlerName, false);
  this.element.addEventListener("MSPointerMove", eventHandlerName, false);
  this.element.addEventListener("MSPointerUp", eventHandlerName, false);
}

Upvotes: 1

Views: 2120

Answers (2)

ikwillem
ikwillem

Reputation: 1064

Found this question, the answer above did not work for me too, what did work was:

html, img {
    -ms-content-zooming: none;
    -ms-touch-action: none;
    -ms-overflow-style: none; 
}

Upvotes: 0

Milind Anantwar
Milind Anantwar

Reputation: 82241

Use css style for slider element.:

-ms-touch-action: none; 

See this

Upvotes: 3

Related Questions