-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat: add swipeableTabBar for antd-mobile #56
Conversation
a97376f
to
235bd50
Compare
Changes Unknown when pulling a97376f on feat/swipeableTabBar into ** on master**. |
235bd50
to
9c8223c
Compare
Changes Unknown when pulling 9c8223c on feat/swipeableTabBar into ** on master**. |
@afc163 有时间帮忙看下,没问题的话需要这边合了发个版本 ant-design/ant-design-mobile#882 npm owner ls rc-tabs
afc163 <afc163@gmail.com>
dxq613 <dxq613@gmail.com>
yiminghe <yiminghe@gmail.com> |
@@ -26,6 +26,12 @@ | |||
height: 99999px; | |||
} | |||
|
|||
&-right &-nav-swipe { |
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.
left 和 right 样式一样,合并下?
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.
- 样式还是不合并了,参考上面一行scrollTabBar的样式,也是分四个position写在4个文件里的,好维护
- 用例我来补下吧
补下用例吧。 |
9c8223c
to
b56f035
Compare
b56f035
to
e7eaf17
Compare
Changes Unknown when pulling e7eaf17 on feat/swipeableTabBar into ** on master**. |
e7eaf17
to
c5f1e74
Compare
Changes Unknown when pulling c5f1e74 on feat/swipeableTabBar into ** on master**. |
ping @afc163 done. test只加了基础功能,滑动过程涉及getComputedStyle比较难测就没写,但在ant-design/ant-design-mobile#882 这边实测没问题了 |
08a25e0
to
759a282
Compare
Changes Unknown when pulling 759a282 on feat/swipeableTabBar into ** on master**. |
@afc163 npm owner 加下我也可以 |
|
已经release 7.2.0, demo在这 http://react-component.github.io/tabs/examples/swipeInkTabBar.html |
ref:
gitlab/react-ui/ant-mobile/issues/404
设计师需求:
其他feature:
swipeableTabContent
结合使用antd-mobile 封装demo: https://github.com/ant-design/ant-design-mobile/pull/882/files
close ant-design/ant-design-mobile#394