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

<t-table>定义表头合并样式,与吸顶样式一同使用,会出现表头宽度计算多出,导致表头出现横向滚动条 #4871

Open
shadowflies opened this issue Dec 28, 2024 · 1 comment

Comments

@shadowflies
Copy link

tdesign-vue-next 版本

1.8.1

重现链接

https://codesandbox.io/p/sandbox/table-kpwz6p

重现步骤

  1. 设置表头列合并,不加吸顶header-affixed-top,正常满足要求
  2. 不设置表头列合并,加吸顶,正常满足要求
  3. 设置表头列合并,加吸顶,会导致表头长度变长,表头有横向滚动条出现,表头表格内容错位
  4. 当将屏幕宽度变小时,表头表格内容错误,表头不显示横向滚动条,表位显示横向滚动条

期望结果

设置表头列合并,加吸顶,正常显示

实际结果

表头长度变长,表头有横向滚动条出现,表头表格内容错位

GIF 2024-12-29 0-49-31

框架版本

Vue(3.3.9)

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @shadowflies,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant