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

🐛 表格横向滚动条在宽度足够无需滚动时依然占位 #2295

Open
2 of 5 tasks
LUUUAN opened this issue Jul 26, 2023 · 2 comments
Open
2 of 5 tasks

🐛 表格横向滚动条在宽度足够无需滚动时依然占位 #2295

LUUUAN opened this issue Jul 26, 2023 · 2 comments
Assignees
Labels
🐛 bug 这个是一个 bug 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复

Comments

@LUUUAN
Copy link
Contributor

LUUUAN commented Jul 26, 2023

🏷 Version

Package Version
@antv/s2 1.49.0
@antv/s2-react 1.42.0
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

在横向空间不足时,表格下方会出现滚动条,但当宽度足够、不绘制滚动条时,表格下方依然会预留滚动条的位置
截屏2023-07-26 11 51 53

image

⌨️ Code Snapshots

使用代码库中的 react-playground

🔗 Reproduce Link

🤔 Steps to Reproduce

  1. 运行 react-playground,使用 基础表
  2. 将宽度设置为600px

😊 Expected Behavior

在宽度足够时滚动条不占位

😅 Current Behavior

横向宽度足够没有滚动条,依然预留了滚动条的位置

💻 System information

Environment Info
System macOS Monterey 12.3
Browser Chrome 114.0.5735.198
@lijinke666 lijinke666 added the 🐛 bug 这个是一个 bug label Jul 28, 2023
@github-actions
Copy link
Contributor

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

Hello, @LUUUAN, 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
Copy link
Member

会影响布局计算, 2.0 版本中修复

This was referenced Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复
Projects
None yet
Development

No branches or pull requests

2 participants