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

DataTable: Header columns and row columns doesn't resize together with Virtual Scroller and resizable columns #2630

Closed
jayzzer opened this issue Jun 5, 2022 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@jayzzer
Copy link

jayzzer commented Jun 5, 2022

Describe the bug

When resizing columns with enabled resizable-columns prop and virtual-scroller-options header columns and row columns are not aligned

Reproducer

https://codesandbox.io/s/loving-shannon-jlmvdq?file=/src/DataTableColResizeDemo.vue

PrimeVue version

3.12.6

Vue version

3.x

Language

ALL

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Create a DataTable component with props :scrollable: true :resizable-columns: true :virtual-scroller-options="{ lazy: true, itemSize: 47 }";
  2. Try to resize a column.

Expected behavior

Header columns and row columns are aligned

@jayzzer jayzzer added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jun 5, 2022
@tugcekucukoglu
Copy link
Member

Please update the codesandbox example so we can see the problem.

@tugcekucukoglu tugcekucukoglu added Status: Pending Review Issue or pull request is being reviewed by Core Team Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working labels Jun 7, 2022
@jayzzer
Copy link
Author

jayzzer commented Jun 7, 2022

Please update the codesandbox example so we can see the problem.

It's already updated. You have to resize any column
Proof:
image

@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. labels Jun 14, 2022
@mertsincan mertsincan self-assigned this Jun 14, 2022
@mertsincan mertsincan added this to the 3.14.0 milestone Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants