-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Android手机上switch开关的样式变成圆角长方形的了,跟demo中不一样。复现手机为OPPOr9 Android5.0系统 #971
Comments
我用vivo x7试试看... 复现成功,尽快修复 |
android switch 做了特殊处理 |
@wuxia510 刚跟设计师确认了。我们的某些组件,包括 switch, modal等做了平台区分,以尽量和 android,ios平台的原生组件效果一致,所以这是by design。 |
|
@motorguo 这是正常的, by design。 Modal 和 Switch 我们针对 Android 和 IOS 平台做了区分处理,以更接近原生组件的样式。后续我们会补充完善文档和demo。 |
@paranoidjk 这样啊。但是自定义四个按钮 or 多个按钮以上,都在一排并显示 |
This was referenced Mar 22, 2017
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment(required) | 环境(必填)
Android5.0 手机型号魅族note2、OPPOr9
What did you do? Please provide steps to re-produce your problem.(请提供复现步骤)
import {List, NavBar, InputItem, TextareaItem, Switch, Toast} from 'antd-mobile';
What do you expected?(预期的正常效果)
如demo中椭圆绿色的开关
https://mobile.ant.design/components/switch/
What happen?(发生了何种非正常现象)
Android手机上switch开关的样式变为蓝色圆角长方形的了!!!!
Re-producible online demo (可复现的在线demo)
The text was updated successfully, but these errors were encountered: