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: 修复行头底部存在多行文本, 初始化和滚动时文本展示溢出的问题 #3000

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

lijinke666
Copy link
Member

👀 PR includes

🐛 Bugfix

  • Solve the issue and close #0

📝 Description

多行文本兼容行头的文本滚动吸附算法

  style: {
    rowCell: {
      height: 80,
      maxLines: 10,
    },
  },

🖼️ 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 28, 2024

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

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

@github-actions github-actions bot added the pr(fix) bug fix label Nov 28, 2024
@github-actions github-actions bot added the next 2.0-next 版本的问题 label Nov 28, 2024
@lijinke666 lijinke666 changed the title fix: 修复行头底部存在多行文本时展示溢出的问题 fix: 修复行头底部存在多行文本, 初始化和滚动时文本展示溢出的问题 Nov 28, 2024
Copy link
Contributor

Size Change: +22 B (0%)

Total Size: 618 kB

Filename Size Change
./packages/s2-core/dist/s2.min.js 256 kB +22 B (+0.01%)
ℹ️ View Unchanged
Filename Size
./packages/s2-core/dist/s2-extends.min.js 153 kB
./packages/s2-core/dist/s2.min.css 581 B
./packages/s2-react-components/dist/s2-react-components.min.css 2.55 kB
./packages/s2-react-components/dist/s2-react-components.min.js 125 kB
./packages/s2-react/dist/s2-react.min.css 1.74 kB
./packages/s2-react/dist/s2-react.min.js 38.3 kB
./packages/s2-vue/dist/s2-vue.min.css 2.05 kB
./packages/s2-vue/dist/s2-vue.min.js 38.2 kB

compressed-size-action

@lijinke666 lijinke666 merged commit 6204839 into next Nov 29, 2024
7 of 9 checks passed
@lijinke666 lijinke666 deleted the fix-text-position branch November 29, 2024 06:09
@lijinke666
Copy link
Member Author

🎉 This PR is included in version @antv/s2-v2.1.0 🎉

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 @latest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants