primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
9.53k stars 4.47k forks source link

Table: rowspan issue when the table is frozen and scrollable #15362

Open alisesan opened 2 weeks ago

alisesan commented 2 weeks ago

Describe the bug

Describe the bug There is an issue with the rowspan attribute when the table is scrollable and frozen. The horizontal scroll breaks the layout for the forzen columns.

After debug it seems that the rowspan is ignored and the calculation of the left property is wrong for the second line

Environment

image

Reproducer

https://stackblitz.com/edit/primeng-tableselection-demo-712q71?file=src%2Fapp%2Fapp.component.html

Angular version

13.0.3

PrimeNG version

13

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.10.0

Browser(s)

Chrome

Steps to reproduce the behavior

Use the horizontal scroll. The second line of the header will ignore the rowspan and overflow the cell

Expected behavior

The second line of the header should take the rowpan in consideration