johnny / jquery-sortable

A flexible, opinionated sorting plugin for jQuery
http://johnny.github.io/jquery-sortable/
Other
1.52k stars 441 forks source link

Still not working in mobile devices #209

Open cometta opened 8 years ago

cometta commented 8 years ago

I tried this on real chrome android device . Anyway, in firefox on android it is working fine. On desktop, everything is perfect.

  1. unable to drag 'li'
  2. button ( a tag ) inside 'li' becomes not working.

sample code below


<ul id="shortinfo" style="list-style-type: none;padding:0"><li class="two fields CJ" id="uid-212"><span class="field"> <input type="text" class="TextBox DJ" placeholder="info..." role="textbox" tabindex="0"> </span>   <span class="field"> <textarea class="TextArea" placeholder="detail..." role="textbox" tabindex="0" aria-multiline="true"></textarea>  </span>  <a class="Anchor BJ" role="button" tabindex="0"><i class="delete big icon" title="delete"></i></a></li><li class="two fields CJ" id="uid-216"><span class="field"> <input type="text" class="TextBox DJ" placeholder="info..." role="textbox" tabindex="0"> </span>   <span class="field"> <textarea class="TextArea" placeholder="detail..." role="textbox" tabindex="0" aria-multiline="true"></textarea>  </span>  <a class="Anchor BJ" role="button" tabindex="0"><i class="delete big icon" title="delete"></i></a></li></ul>

<script>

$("#shortinfo").sortable();

</script>
incredible-dev commented 8 years ago

Well , you can try this : http://touchpunch.furf.com/ I tried and it helped me out.

cometta commented 8 years ago

hi @incredible-dev , do you mean when integrate touchpunch together with jquery-sortable. this will fix the issue? Reason being that I tried that as well before post this issue, did not help.

ppazos commented 8 years ago

@cometta just go with touchpunch, it works with jquery ui sortable. I don't think this lib is being maintained...