Unable to preventDefault inside passive event listener

前端 未结 6 925
终归单人心
终归单人心 2020-11-29 06:13

I\'m using Framework7 sortable list and it works well, just that it doesn\'t trigger an event when the list is changed.

So I\'m trying a few built-in events:

<
6条回答
  •  不知归路
    2020-11-29 06:40

    I am getting this issue when using owl carousal and scrolling the images.

    So get solved just adding below CSS in your page.

    .owl-carousel {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    }
    

    or

    .owl-carousel {
    -ms-touch-action: none;
    touch-action: none;
    }
    

提交回复
热议问题