Skip to content

Conversation

scottgonzalez
Copy link
Member

Fixes #14779

I'd like to add a test for this before merging which checks if the touch-action property is set. I don't have time to do the necessary testing against IE right now though. We also need to handle sortable and selectable, but I wanted to get this started so I don't forget about it.

@scottgonzalez scottgonzalez force-pushed the draggable-touch-action branch from 71dff3b to cd6320e Compare October 4, 2016 20:49
@scottgonzalez
Copy link
Member Author

Updated the implementation and added tests. If this approach looks good, I'll update the other widgets.

@@ -91,6 +94,15 @@ $.widget( "ui.draggable", $.ui.mouse, {
}
},

_setOptionDisabled: function( value ) {
// Remove touch-action for disabled draggables
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line before comments

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But implementation is good

@BenasPaulikas
Copy link

Is this related to https://forum.jquery.com/topic/jquery-ui-sortable-disables-scroll-on-android ?

When this will be fixed ?

@fnagel fnagel marked this pull request as draft July 23, 2020 20:10
@aldug
Copy link

aldug commented Jan 11, 2021

I also have been impacted by this behavior. Is anyone currently working on finishing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants