Open kaposoniro opened 4 months ago
Expected behavior should be like this:
Having the same issue, even after updating to 17.18 version which supports Angular V18 peer dependencies.
The other option to avoid having a scrollbar on the BODY element, is using responsiveLayout="stack"
which changes the table layout on smaller screens.
Describe the bug
The responsive feature of tables seems to be broken when they are located within the main content of the Sidebar Layout taken from PrimeBlocks. It only seems to be the case when placed within a
flex
container.Environment
Chrome, StackBlitz
Reproducer
https://stackblitz.com/edit/yub5cx-uqtdin
Angular version
17.3.7
PrimeNG version
17.17.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.12.2
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The table should not extend beyond the page size and display the horizontal scroll bar instead.