Search and Top Navigation
#14779 open bug ()
Opened November 06, 2015 03:45AM UTC
Last modified June 30, 2016 03:11PM UTC
Draggable prevents scrolling when disabled on touch devices
Reported by: | zspitzer | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.draggable | Version: | 1.11.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When you apply draggable to an element, the ui-draggable-handle class is applied to the element which prevents scrolling on touch devices.
.ui-draggable-handle { -ms-touch-action: none; touch-action: none; }
But when draggable is disabled on the element, the class isn't removed, which means you cannot touch scroll the page via that element.
When draggable is disabled, this class should be removed from the element
https://github.com/jquery/jquery-ui/pull/1714