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 组件 表头固定功能 #2630

Closed
dengshicheng1996 opened this issue Jul 27, 2023 · 2 comments
Closed

t-table 组件 表头固定功能 #2630

dengshicheng1996 opened this issue Jul 27, 2023 · 2 comments
Labels
need more info need more info

Comments

@dengshicheng1996
Copy link

tdesign-vue 版本

1.4.8-naruto

重现链接

No response

重现步骤

增加固定表头属性后,每次滚动都会滚动一段距离出去后才会浮现出来

<t-table
        headerAffixedTop={{
          container: () => document.getElementById(container),
          offsetTop: 0,
        }}
        size="small"
        loading={loading}
        rowKey={rowKey}
        data={data}
        disableDataPage={true}
        columns={columns}
      />

期望结果

表头滚出外元素框即可浮动起来

实际结果

No response

框架版本

2.7.0

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@chaishi chaishi added the need more info need more info label Aug 19, 2023
@chaishi
Copy link
Collaborator

chaishi commented Aug 19, 2023

https://stackblitz.com/edit/afoms3?file=src%2Fdemo.vue
请在这个链接里面复现你的问题

@chaishi chaishi closed this as completed Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info need more info
Projects
None yet
Development

No branches or pull requests

2 participants