Scrollbar Extending Beyond Table Body in PrimeNG p-table Component #14862
Labels
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
In the provided example from the PrimeNG p-table documentation, the scrollbar extends beyond the table body, appearing in area such as the table heading.
Environment
Reproducer
No response
Angular version
16.0.3
PrimeNG version
16.0.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
Chrome 121.0.6167.185
Steps to reproduce the behavior
Snippet of the example:
<p-table [value]="customers" [scrollable]="true" scrollHeight="400px" [tableStyle]="{'min-width': '50rem'}">
Screenshot:
Expected behavior
The scrollbar should be within the body of the table and should not extend beyond it. The header section should remain sticky as the user scrolls through the table content.
The text was updated successfully, but these errors were encountered: