Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#22583 closed defect (bug)

Let dragging work in IE10 via touch interface. — at Version 1

Reported by: georgestephanis Owned by:
Milestone: 3.5 Priority: normal
Severity: major Version: 3.5
Component: UI Keywords: has-patch commit
Focuses: Cc:

Description (last modified by georgestephanis)

In testing on the Microsoft Surface RT tablet, draggable things were completely undraggable through the touch interface -- whether they were dashboard boxes, widgets, or menu items.

As per http://msdn.microsoft.com/en-us/library/windows/apps/hh767313.aspx and https://msmvps.com/blogs/theproblemsolver/archive/2012/10/24/jquery-ui-and-windows-8-and-internet-explorer-10-touch-screens.aspx this can be solved quite simply by adding the -ms-touch-action: none; property to the CSS of the elements in question.

If someone would prefer to do it via Javascript, it can be done via

if (typeof el.style.msTouchAction != 'undefined') el.style.msTouchAction = "none";

but I'm happy just doing it via CSS for the moment unless Koop would prefer it be in the js.

Change History (2)

#1 @georgestephanis
6 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.