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

dataTable : <th> is hidden by <td> with frozenColumn #13781

Closed
quentin-ineat-ca opened this issue Sep 29, 2023 · 0 comments · Fixed by #13791
Closed

dataTable : <th> is hidden by <td> with frozenColumn #13781

quentin-ineat-ca opened this issue Sep 29, 2023 · 0 comments · Fixed by #13791
Labels
LTS-FIXED-15.4.14 LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@quentin-ineat-ca
Copy link

quentin-ineat-ca commented Sep 29, 2023

Describe the bug

Like the title says, inside dataTable component, the header is hidden by cell from body when you start to scroll.
Header goes behind the content when you scroll as the same z-index is shared.

You can see it in the doc too : https://primeng.org/table#frozen-columns

Maybe also introduced with the new "@ layer" from 16.4.0 (introducing breaking changes for a minor version in my opinion by changing CSS order).

Working again if you remove the z-index introduced in PR #13590.

Inside inspect :
Screenshot 2023-09-28 at 2 45 35 PM

Exemple when start to scroll :
Screenshot 2023-09-28 at 2 54 47 PM

Environment

Company app using datatable with lazyload and selection.

Reproducer

https://primeng.org/table#frozen-columns

Angular version

16.2.7

PrimeNG version

16.4.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.17.1

Browser(s)

Chrome 117

Steps to reproduce the behavior

No response

Expected behavior

Header inside table should stay visible when you scroll.

@quentin-ineat-ca quentin-ineat-ca added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 29, 2023
ashikjs added a commit to ashikjs/primeng that referenced this issue Oct 1, 2023
ashikjs added a commit to ashikjs/primeng that referenced this issue Oct 1, 2023
ashikjs added a commit to ashikjs/primeng that referenced this issue Oct 1, 2023
ashikjs added a commit to ashikjs/primeng that referenced this issue Oct 1, 2023
ashikjs added a commit to ashikjs/primeng that referenced this issue Oct 1, 2023
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working LTS-PORTABLE 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 22, 2023
cetincakiroglu added a commit that referenced this issue Nov 22, 2023
…olumn-header-overlap-with-body

fix: #13781 || dataTable: frozenColumn header overlap with frozen body
@cetincakiroglu cetincakiroglu added this to the 16.9.0 milestone Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-FIXED-15.4.14 LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants