如題, 在 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事件的嘗試,例如,因爲滾動正在進行且無法中斷。
哪麼要怎麼解決呢?