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

Table: Column Resize broken with sortable columns #16734

Closed
LoaderB0T opened this issue Nov 13, 2024 · 1 comment · Fixed by #16735
Closed

Table: Column Resize broken with sortable columns #16734

LoaderB0T opened this issue Nov 13, 2024 · 1 comment · Fixed by #16735
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@LoaderB0T
Copy link
Contributor

Describe the bug

When resizing columns that are sortable, the resize event is triggered on the div with the cbsortableheaderwrapper. This element does not have the correct width to determine the new column width which results in strange resizes. Also later in the code when the index of the resized column is resolved, it always resolves to 0 so only the first column size is changed as observed here:

FDq0i6M - Imgur

Environment

Reproducer

No response

Angular version

18.2.0

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.18.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@LoaderB0T LoaderB0T added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 13, 2024
@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 18, 2024
@mertsincan mertsincan added this to the 17.18.13 milestone Nov 18, 2024
@LoaderB0T
Copy link
Contributor Author

Hey @mertsincan :)
Any chance this can be released soon? :)
I understand you are working hard on v18, but we'd appreciate this fix landing in v17 soon ❤️

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
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants