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

Picker组件 下载后 mask 没有带上 -webkit-mask 导致mask 这个属性在谷歌浏览器失效 #6479

Closed
day-xue opened this issue Dec 13, 2023 · 7 comments
Labels
bug need reproduce We cannot reproduce your problem

Comments

@day-xue
Copy link
Contributor

day-xue commented Dec 13, 2023

Version of antd-mobile

5.33

Operating system and its version

iOS

Browser and its version

谷歌

Sandbox to reproduce

复线不出 我本地是这样的

What happened?

期望能带上mask。。。

Relevant log output

No response

@day-xue day-xue added the bug label Dec 13, 2023
@miracles1919
Copy link
Contributor

Picker 没有 mask 这个属性

@day-xue
Copy link
Contributor Author

day-xue commented Dec 13, 2023

Picker 没有 mask 这个属性

是css

@1587315093
Copy link
Contributor

提供代码或者截图

@1587315093 1587315093 added the need reproduce We cannot reproduce your problem label Dec 14, 2023
Copy link
Contributor

Hi, day-xue.

Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.

我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandboxstackblitz 创建一个实例。

@day-xue
Copy link
Contributor Author

day-xue commented Dec 14, 2023

提供代码或者截图

image

.adm-picker-view-mask-top,.adm-picker-view-mask-bottom 这个mask 不被谷歌兼容 需要加-webkit- 前缀

@sean-skkk
Copy link

sean-skkk commented Dec 14, 2023

确实我也发现这个问题了 可以参考#6443

@1587315093
Copy link
Contributor

1587315093 commented Dec 14, 2023

打包后的文件是加了的,找找是不是你们项目配置之类的把webkit弄没了

image

地址:https://www.npmjs.com/package/antd-mobile?activeTab=code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug need reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

4 participants