Skip to content
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

🐛紧凑布局下,单元格计算宽度不正确,文字被截断显示... #3018

Closed
3 tasks
pattis0611 opened this issue Dec 9, 2024 · 3 comments · Fixed by #3053
Closed
3 tasks

🐛紧凑布局下,单元格计算宽度不正确,文字被截断显示... #3018

pattis0611 opened this issue Dec 9, 2024 · 3 comments · Fixed by #3053
Assignees
Labels
G 底层渲染引擎 AntV/G 的问题 released on @latest

Comments

@pattis0611
Copy link

🏷 Version

Package Version
@antv/s2 2.1.1
@antv/s2-react -
@antv/s2-vue -

Sheet Type

  • [√ ] PivotSheet
  • [ √] TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

紧凑布局的模式下,数据包含中文符号时,无法展示全部文字内容。交叉表角头包含图表时,也无法展示文字全部内容。
image
image

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

Environment Info
System
Browser
@lijinke666 lijinke666 added the G 底层渲染引擎 AntV/G 的问题 label Dec 17, 2024
Copy link
Contributor

你好 @pattis0611,这个属于底层渲染引擎 AntV/G 的问题, 需要等待底层支持或修复后, 上层才能适配, 请耐心等待, 感谢你的理解。

Hello, @pattis0611, This belongs to the underlying rendering engine AntV/G (https://g.antv.antgroup.com/), needs to wait for the underlying support or after repair, the upper can adapter, please wait patiently, thank you for your understanding.

@lijinke666 lijinke666 self-assigned this Dec 19, 2024
lijinke666 added a commit that referenced this issue Dec 30, 2024
* fix: 使用离屏 Canvas 测量文本, 提高宽度计算的准确性 close #3018

* chore: 更新单测和快照

* chore: 更新版本
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v2.1.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v2.1.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
G 底层渲染引擎 AntV/G 的问题 released on @latest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants