使用 jQuery UI Touch Punch 似乎是最好的方法。
<script src="../jquery-ui-1.13.0/external/jquery/jquery.js"></script>
<script src="../jquery-ui-1.13.0.custom/jquery-ui.min.js"></script>
<script src="../jquery-ui-1.13.0/jquery-ui.min.js"></script>
<script src="../jquery-ui-touch-punch/jquery.ui.touch-punch.min.js"></script>
<link href="../bootstrap-5.1.1/css/bootstrap.min.css" rel="stylesheet" />
<script>
$(function () {
$("#sortable").sortable();
});
</script>
<div class="container">
<div class="row">
<div class="col-md-12">
<ul id="sortable" class="list-group">
<li class="list-group-item active">Item 1</li>
<li class="list-group-item">Item 2</li>
<li class="list-group-item">Item 3</li>
<li class="list-group-item">Item 4</li>
<li class="list-group-item">Item 5</li>
<li class="list-group-item">Item 6</li>
<li class="list-group-item">Item 7</li>
<li class="list-group-item">Item 8</li>
</ul>
</div>
</div>
</div>
https://jsfiddle.net/igorkrupitsky/cw5n0xku/1/