[樂意黎原創]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事件的嘗試,例如,因爲滾動正在進行且無法中斷。


哪麼要怎麼解決呢?

 

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