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

透视表:布局方式使用 layoutWidthType: 'colAdaptive' 宽度足够的情况下表头有省略号出现?🤔 #2726

Closed
1 of 5 tasks
db-shuai opened this issue May 13, 2024 · 6 comments · Fixed by #2732
Assignees
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 ❔question 疑问/使用问题 released on @next

Comments

@db-shuai
Copy link

db-shuai commented May 13, 2024

🏷 Version

Package Version
@antv/s2 2.0.0-next.20
@antv/s2-react -
@antv/s2-vue -

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

行头稍微长一点 就会展示出 省略号,v1版本却不会!

image

🔗 Reproduce Link

https://codesandbox.io/p/sandbox/little-butterfly-fq9m6j?file=%2Fpackage.json%3A9%2C2

😊 Expected Behavior

期望行头不出现省略号,文本正常展示!

😅 Current Behavior

@db-shuai db-shuai added the ❔question 疑问/使用问题 label May 13, 2024
@github-actions github-actions bot added the next 2.0-next 版本的问题 label May 13, 2024
@lijinke666
Copy link
Member

lijinke666 commented May 16, 2024

Demo 打不开, 另外你截图的部分是角头, 不是行头

@db-shuai
Copy link
Author

https://codesandbox.io/p/sandbox/little-butterfly-fq9m6j?file=%2Findex.ts%3A300%2C13

不好意思 是角头 , 链接开了一下权限 你看看

Demo 打不开, 另外你截图的部分是角头, 不是行头

@lijinke666 lijinke666 self-assigned this May 17, 2024
@lijinke666
Copy link
Member

lijinke666 commented May 17, 2024

好的, 近期排查一下

@lijinke666
Copy link
Member

2.0 的布局机制变了, 所以表现会有一点不一样, 对于 colAdaptive 还有点问题, 如果你想和 v1 一样, 先这样改

  cornerCell: {
    wordWrap: false,
  }

image

Copy link
Contributor

你好 @db-shuai,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @db-shuai, 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.

@lijinke666 lijinke666 linked a pull request May 17, 2024 that will close this issue
5 tasks
lijinke666 added a commit that referenced this issue May 17, 2024
* fix: 修复列等宽布局模式下角头出现省略号 close #2726

* test: 更新快照
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.21 🎉

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
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 ❔question 疑问/使用问题 released on @next
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants