[乐意黎原创]MUI里Slide左右滑动选项卡, 上下滑时, 抛错 并不触发事件的怪异问题

如题,  在 MUI里Slide左右滑动选项卡,  上下滑时, 抛错 并不触发事件的怪异问题:

 

在某个选项卡, 下滑或者下滑时,  会抛的错如下:
 [Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

翻译成中文就是:

[干预]忽略了取消cancelable=false的touchstart事件的尝试,例如,因为滚动正在进行且无法中断。
[干预]忽略了取消cancelable=false的touchmove事件的尝试,例如,因为滚动正在进行且无法中断。


哪么要怎么解决呢?

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章