-
Notifications
You must be signed in to change notification settings - Fork 194
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
🐛 字段标记自定义svg无法修改颜色 #1898
Comments
你要找的是不是 (You may look for issues): |
这个bug还没有修复嘛 |
This feature is effective in codesandbox and local environment but not work in S2 Site online example editor. upd: even I run yarn site:start and latest deployment of pr, it works, too! Maybe this issue can be closed |
我在codesandbox试着和本地都不行呢 https://codesandbox.io/s/7ndckq
|
你用的 SVG 的 fill 不能写死,需要是 currentColor,这是 SVG 基础。 |
你的意思就是在svg中写死的fill就不做处理了呗 那你告诉我conditions那里icon的fill配置的意义何在? |
颜色动态修改只对字符串和本地文件有效, 在线链接不支持 |
🏷 Version
| Package | Version |
| -------------- | --------- |
| @antv/s2 | 1.3.1 |
| @antv/s2-react | |
| @antv/s2-vue | |
Sheet Type
🖋 Description
自定义svg无法修改颜色
⌨️ Code Snapshots
🔗 Reproduce Link
🤔 Steps to Reproduce
😊 Expected Behavior
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: