提交 0486c4b8 编写于 作者: fxy060608's avatar fxy060608

fix(mp): remove the delay of touch event (#3347)

上级 40b19fba
......@@ -5380,10 +5380,11 @@ function createInvoker(initialValue, instance) {
}
// 冒泡事件列表
const bubbles = [
'touchstart',
'touchmove',
'touchcancel',
'touchend',
// touch事件暂不做延迟,否则在 Android 上会影响性能,比如一些拖拽跟手手势等
// 'touchstart',
// 'touchmove',
// 'touchcancel',
// 'touchend',
'tap',
'longpress',
'longtap',
......
......@@ -96,10 +96,11 @@ function createInvoker(
}
// 冒泡事件列表
const bubbles = [
'touchstart',
'touchmove',
'touchcancel',
'touchend',
// touch事件暂不做延迟,否则在 Android 上会影响性能,比如一些拖拽跟手手势等
// 'touchstart',
// 'touchmove',
// 'touchcancel',
// 'touchend',
'tap',
'longpress',
'longtap',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册