-
Notifications
You must be signed in to change notification settings - Fork 199
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
🐛 MacOS Chrome/100 以下版本,主题配置包含BlinkMacSystemFont字体时导致 页面崩溃 #2786
Comments
Canvas 特定的字体下浏览器会卡死, 这是 Mac 和 iOS 系统的问题, 和 S2 没关系.
没太懂既然 > 100 没问题, 为什么还要使用这么低的版本?
像 |
S2默认不是也有 BlinkMacSystemFont 这个字体么, 为什么默认里没问题? |
默认没有, 应该是文档有误 S2/packages/s2-core/src/common/constant/theme.ts Lines 16 to 23 in db9c900
那只能避免使用 -apple-system BlinkMacSystemFont 之类的字体 |
好的 多谢 !! |
🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.24 🎉 The release is available on: Your semantic-release bot 📦🚀 |
不好意思还两个问题我确认一下 |
🏷 Version
Sheet Type
🖋 Description
主题配置中的字体配置 含有 BlinkMacSystemFont 字体时导致页面崩溃
macos系统 使用的 chrome版本低于100时,页面直接崩溃,已验证 windows 无此问题。
Chrome版本更新>100后无此问题,已验证版本(101、105、110、126)
⌨️ Code Snapshots
https://s2.antv.antgroup.com/examples/theme/default/#colorful ,此链接内使用如下配置
🔗 Reproduce Link
🤔 Steps to Reproduce
😊 Expected Behavior
😅 Current Behavior
页面正常展示不要崩溃,
💻 System information
The text was updated successfully, but these errors were encountered: