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

data-table fixed header and group header cannot work fine together #1341

Closed
joanne3634 opened this issue Oct 12, 2021 · 2 comments · Fixed by #1348
Closed

data-table fixed header and group header cannot work fine together #1341

joanne3634 opened this issue Oct 12, 2021 · 2 comments · Fixed by #1348
Labels
bug Something isn't working

Comments

@joanne3634
Copy link

joanne3634 commented Oct 12, 2021

TuSimple/naive-ui version (版本)

2.19.7

Vue version (Vue 版本)

3.2.20

Browser and its version (浏览器及其版本)

Chrome 94.0.4606.54 (Official Build) (64-bit)

System and its version (系统及其版本)

Ubuntu 94.0.4606.54 (Official Build) (64-bit)

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/spring-smoke-8zjkl

Reappearance steps (重现步骤)

  1. create group header with single header
  2. set group header and single header all fixed left

Expected results (期望的结果)

the header set fixed: left should all stick in the left

Actual results (实际的结果)

scroll to right, the fixed left header not working properly
Screenshot from 2021-10-12 13-24-32
Screenshot from 2021-10-12 13-24-46

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Oct 12, 2021
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Oct 13, 2021
@07akioni
Copy link
Collaborator

@LYErin it's a bit more complex than you think. ref 37d7fc9

@07akioni
Copy link
Collaborator

New version is release, don't forget to add width prop to leaf columns, nor it won't know it's position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants