ElemeFE / mint-ui

Mobile UI elements for Vue.js
http://mint-ui.github.io/#!/en
MIT License
16.56k stars 3.55k forks source link

[Bug Report] cell-swipe没有做swipelock , 导致有滚动条的时候会出现同时垂直滚动导致卡顿, 有gif #1128

Open deepkolos opened 7 years ago

deepkolos commented 7 years ago

Mint UI version

2.2.9

OS/Browsers version

chrome stable 61

Vue version

2.4.4

Reproduction Link

http://elemefe.github.io/mint-ui/#/cell-swipe

Steps to reproduce

ctrl shift i ctrl shift m 选择responsive 拖动底部滚动条, 直到出现垂直滚动条为止 触发cell-swipe , 即在cell上面往左滑动 然后按住不放, 再上下滑

What is Expected?

一旦触发cell-swipe就不会把事件传递到父级dom

What is actually happening?

上传递了, 导致卡顿了

Gif

bug

deepkolos commented 7 years ago

还有一点是, 滑动的时候应该amimation-duration应该为0ms/0s的