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

🐛 开启分页后, 文字贴边效果显示有问题 #2264

Closed
1 of 5 tasks
lijinke666 opened this issue Jun 20, 2023 · 2 comments · Fixed by #2265
Closed
1 of 5 tasks

🐛 开启分页后, 文字贴边效果显示有问题 #2264

lijinke666 opened this issue Jun 20, 2023 · 2 comments · Fixed by #2265
Labels

Comments

@lijinke666
Copy link
Member

lijinke666 commented Jun 20, 2023

🏷 Version

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

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

开启分页后, 在没有滚动条的场景, 文字应该按照默认的布局 (文字垂直居中), 现在看起来用了分页前的高度信息去计算了文字的坐标, 导致文字触发贴边的效果了, 这种场景不太合理

image

⌨️ Code Snapshots

    const s2Options = {
      width: 600,
      height: 480,
      pagination: {
        // API: https://ant.design/components/pagination-cn/#API
        pageSize: 2,
        current: 1,
      },
    };

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

Environment Info
System
Browser
@lijinke666
Copy link
Member Author

🎉 This issue has been resolved in version @antv/s2-v1.49.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member Author

🎉 This issue has been resolved in version @antv/s2-react-v1.42.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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant