How to disable page scroll while dragging draggable in jquery?

后端 未结 3 1476
天涯浪人
天涯浪人 2021-01-03 01:21

I have a draggable defined this way:

$(\"#drag_area a\").live(\"mouseup\", function() {

    var object = $(this);
    var class_array = $(this).attr(\"class         


        
3条回答
  •  难免孤独
    2021-01-03 01:46

    I solved that problem with one line of css on dragging element touch-action: none;

提交回复
热议问题