Page 1 of 1

Sortable list not working on mobile device

Posted: Tue Feb 25, 2014 8:03 pm
by Tom Mccann

I have added the jquery mobile js library to my app. I have made a list sortable (by drag and drop) by adding this code:

$("#productList_menulist").sortable({
change: function(event, ui) {
window.productListSorted = false;
}
});
$("#productList_menulist").disableSelection();

This works ok in the browser test window but not on the mobile device (a Galaxy S3 running Android 4.3).

Can you tell me what I have to do to get this working on the mobile device?


Sortable list not working on mobile device

Posted: Tue Feb 25, 2014 8:48 pm
by Kateryna Grynko

Hi Tom,

Please this the example: https://jqueryui.com/sortable/
What does suit you the most?


Sortable list not working on mobile device

Posted: Tue Feb 25, 2014 9:59 pm
by Tom Mccann

I already know this example - I'm using the code from it. My question is: It works when I run Test in appery, but it doesn't work when the same app is on the Android device. Why is that?


Sortable list not working on mobile device

Posted: Wed Feb 26, 2014 9:46 am
by Maryna Brodina

Hello! Unfortunately we can't reproduce that. Could you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and give us steps to reproduce? Another way is to create test app with functionality you have problem with and share with us.