-
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
🐛 cornerCell
的 measureText.textBaseline
和其它 cell 的 measureText.textBaseline
默认值不一样
#2957
Comments
cornerCell
的 measureText.textBaseline
和其它 cell 的 measureText.textBaseline
默认值不一样
你好 @liqiuqiui,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志. Hello, @liqiuqiui, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs. |
感谢反馈, 看了下, cornerCell 的默认主题没有 S2/packages/s2-core/src/cell/header-cell.ts Lines 402 to 404 in e759891
|
Co-authored-by: Wenjun Xu <[email protected]>
🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.32 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version @antv/s2-react-components-v1.1.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🏷 Version
Sheet Type
🖋 Description
角头虚拟数值字段文本在配置了cornerCell.measureText后不能垂直居中了
⌨️ Code Snapshots
未配置
textBaseline
时,cornerCell.measureText
和其它单元格的measureText
的默认值不一样显示配置
textBaseline: "middle"
可居中🔗 Reproduce Link
在线复现链接
🤔 Steps to Reproduce
😊 Expected Behavior
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: