ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.

Home Page:https://mobile.ant.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

day-xue opened this issue · comments

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

Picker 没有 mask 这个属性

Picker 没有 mask 这个属性

是css

commented

提供代码或者截图

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 创建一个实例。

提供代码或者截图

image

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

commented

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

commented

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

image

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