https://mobile.ant.design/kitchen-sink/components/pull-to-refresh?lang=zh-CN#pull-to-refresh-demo-0
1、list先向上移动一点,松开左键
2、鼠标拖住list,在模拟器下方边缘上下拖动
没有错误
控制台就会报如下错误,[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
| Environment | Info |
|---|---|
| antd | 2.2.6 |
| React | react |
| System | macOS 10.14 |
| Browser | chrome 73.0.3683.103 |
建议:在rmc-pull-to-refresh组件的onTouchMove事件中,在e.preventDefault();这段之前增加if (e.cancelable) {e.preventDefault();}判断
I have the same problem when open drawer.
Most helpful comment
I have the same problem when open drawer.