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

fix: 修复文本存在换行符时, 未显示省略号的问题 #2978

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

lijinke666
Copy link
Member

👀 PR includes

🐛 Bugfix

  • Solve the issue and close #0

📝 Description

const s2Options = {
  style: {
    rowCell: { maxLines: 1 } 
  }
}

{
  province: '浙江\n浙江',
  city: '杭州\n杭州\n杭州',
  type: '纸张\n纸张',
  price: 12,
  cost: 20,
}

G 的问题 antvis/G#1835 已修复, 同步更新依赖以及补充单测

🖼️ Screenshot

Before After
image image

🔗 Related issue link

🔍 Self-Check before the merge

  • Add or update relevant docs.
  • Add or update relevant demos.
  • Add or update test case.
  • Add or update relevant TypeScript definitions.

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
antvis-s2 ❌ Failed (Inspect) Nov 14, 2024 11:40am

@github-actions github-actions bot added pr(fix) bug fix next 2.0-next 版本的问题 labels Nov 14, 2024
Copy link
Contributor

Size Change: +2.5 kB (+0.74%)

Total Size: 339 kB

Filename Size Change
./packages/s2-core/dist/index.min.js 239 kB +2.46 kB (+1.04%)
./packages/s2-react/dist/index.min.js 71 kB +35 B (+0.05%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/style.min.css 388 B
./packages/s2-react/dist/style.min.css 3.77 kB
./packages/s2-vue/dist/index.min.js 23 kB
./packages/s2-vue/dist/style.min.css 1.85 kB

compressed-size-action

@lijinke666 lijinke666 merged commit 08dbf0d into next Nov 15, 2024
11 of 13 checks passed
@lijinke666 lijinke666 deleted the fix-line-break branch November 15, 2024 02:01
@lijinke666
Copy link
Member Author

🎉 This PR is included in version @antv/s2-v2.0.0-next.33 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member Author

🎉 This PR is included in version @antv/s2-react-v2.0.0-next.31 🎉

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
next 2.0-next 版本的问题 pr(fix) bug fix released on @next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant