Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(swipe-action): 阻止滑动触发默认行为 #525

Merged
merged 2 commits into from Apr 15, 2019

Conversation

yodagg
Copy link
Contributor

@yodagg yodagg commented Apr 12, 2019

修复问题

  1. 滑动swipe-action组件时,阻止默认行为
  2. windows下运行npm run test会报错NODE_ENV

说明

swipe-action组件具有左右滑动的操作
在手机上很多浏览器都是默认会开启 左滑返回上一页
这就导致了组件的滑动与浏览器默认行为冲突,想要左滑隐藏swipe-action组件的操作按钮,却返回了上一页。

@yodagg yodagg changed the title Feat component swipe action fix(swipe-action): 阻止滑动触发默认行为 Apr 12, 2019
@koppthe koppthe requested a review from SzHeJason April 14, 2019 03:13
@SzHeJason SzHeJason merged commit 24b4892 into NervJS:dev Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants