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

Open
LoaderB0T opened this issue Nov 13, 2024 · 0 comments · May be fixed by #16735
Open

Table: Column Resize broken with sortable columns #16734

LoaderB0T opened this issue Nov 13, 2024 · 0 comments · May be fixed by #16735
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant