Opened 7 years ago
Last modified 7 years ago
#14779 open bug
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
Change History (2)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
Status: | new → open |
---|
This also applies to sortable and selectable. Everything else that uses touch-action
should be fine.
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/jquery-ui/pull/1714