primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Table: Column Resize broken with sortable columns

Open LoaderB0T opened this issue 3 months ago • 0 comments

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 avatar Nov 13 '24 10:11 LoaderB0T