-
Notifications
You must be signed in to change notification settings - Fork 53
refactor: user hammerjs event object #41
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
Conversation
Changes Unknown when pulling 6fd225e on backup into ** on master**. |
Changes Unknown when pulling 6fd225e on backup into ** on master**. |
Changes Unknown when pulling 6fd225e on backup into ** on master**. |
"dependencies": { | ||
"babel-runtime": "6.x", | ||
"object.omit": "~2.0.0", | ||
"omit.js": "^1.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是为了和 antd 整体复用依赖
Changes Unknown when pulling 54db9b8 on backup into ** on master**. |
我试了一下,斜着往 11 点钟的方向快速滑,有问题,划出来之后收不回去了 |
@silentcloud 再看下? |
this.needShowRight = isLeft && right!.length > 0; | ||
this.needShowLeft = isRight && left!.length > 0; | ||
if (this.left) { | ||
this.left.style.visibility = this.needShowRight ? 'hidden' : 'visible'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
加的这段逻辑是为了解决当往右滑的时候,如果左侧的按钮很多,会导致反而右侧的内容显示出来,左侧的左右边的部分内容被盖住
ping @silentcloud |
ping @silentcloud |
嗯 给你加,PR 我再看看 |
@paranoidjk 我先发个 1.4.5-alpha.0 结合 antm 试试 |
@silentcloud 之后在 setting 里面把 merge 去掉,只允许 squash and merge 吧 我看不到,可能没权限改 |
No description provided.