primeng icon indicating copy to clipboard operation
primeng copied to clipboard

p-treeTable: frozen column does not scroll vertically when virtual scrolling is enabled

Open steffinchen opened this issue 2 years ago • 0 comments

Describe the bug

When having a p-treeTable with [virtualScroll]="true" and the first column is frozen, the frozen column does not scroll vertically at all and stays frozen while the rest scrolls. When turning off virtual scrolling the frozen column scrolls as expected.

prime-faces-14_0_0-frozen-col-not-scrolling-vertically

Environment

locally & on stackblitz, Angular 14, PrimeNG 14, Chrome 103 on Intel MacBook

Reproducer

https://stackblitz.com/edit/primeng-treetablescroll-demo-ptvchb?file=src/app/app.component.html

Angular version

14.0.6

PrimeNG version

14.0.0

Build / Runtime

TypeScript

Language

ALL

Node version (for AoT issues node --version)

16.15.1

Browser(s)

Chrome 103 on OSX

Steps to reproduce the behavior

No response

Expected behavior

Tree table with virtual scrolling enabled, the frozen column should still scroll along vertically with the rest of the table.

steffinchen avatar Jul 20 '22 08:07 steffinchen