-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
iOS16.2版本中所有的选择器都有错位现象 #522
Comments
有可供替换的库吗? |
.mui-ios-16.mui-ios-16-2 .mui-pciker-list{transform-origin-z: 0 !important;} |
mui.picker.all.js 或 mui.picker.js 前增加,ios 16.2版本判断; |
下面两个老兄的方法都可以 |
这个部分机型有问题 建议改成translateY css 注释 .mui-pciker-list li {/position: absolute;/} 所有的 preserve-3d js |
如果你的系统无法通过 JavaScript 探测到操作系统或者浏览器版本(window.navigator.userAgent),可以试试: Tested in mui v3.4.0 @supports (font-variant-alternates: styleset(nice-style)) {
/* Supported from Safari 16.2 */
/* https://developer.apple.com/documentation/safari-release-notes/safari-16_2-release-notes */
.mui-pciker-list {
transform-origin-z: 0 !important;
}
} |
iOS 16.0 16.1.1版本用css的方式,还是不能生效,有解决方案吗? |
你的意思是,在 iOS 16.0 16.1.1 上也会错位吗? |
是的,真机实测的 |
是修改代码前,还是应用了上述修改后? |
try this: MUI 中 Picker 插件异常表现问题修复 |
iOS16.2版本使用选择器的时候,会出现错位现象
The text was updated successfully, but these errors were encountered: