-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
微信端编译时组件中的style属性会丢失 -webkit-text-fill-color , -webkit-text-stroke 等样式 #8109
Comments
taro-bot2
bot
added
F-vue2
Framework - Vue 2
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Nov 24, 2020
20 tasks
20 tasks
如果紧急可以使用这个办法 |
mask backdrop-filter 这些属性也需要webkit前缀 |
Chen-jj
added a commit
that referenced
this issue
May 21, 2022
17 tasks
Chen-jj
added a commit
that referenced
this issue
May 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/heyi/Taro-vue2-style-bug
小程序基础库: ios 7.017
使用框架: Vue 2
复现步骤
npm run dev:weapp 后察看编译代码,可以看到 -webkit-text-fill-color 等样式丢失了
期望结果
正常显示 -webkit-text-fill-color ,-webkit-text-stroke-color 等属性
实际结果
-webkit-text-fill-color ,-webkit-text-stroke-color 等属性丢失了
环境信息
补充信息
https://github.com/NervJS/taro/blob/next/packages/taro-runtime/src/dom/style_properties.ts 这里未考虑自定义样式以及webkit 开头的样式等等。这些场景还是很常见的,希望能解决这个问题或者提供配置能补充到这些需要用到的样式。
The text was updated successfully, but these errors were encountered: