Open jase88 opened 1 week ago
Hi,
Does it work with Chrome or others? and, could you please try it with v18?
It does work fine on Chrome/Chromium based browsers and Safari. As far as I can see after initial debugging, no scroll event is emitted in Firefox (Scroller component), whereas this is the case with the other browsers.
I will test it with PrimeNG 18 RC1 and report soon
@mertsincan There seems to be further errors with 18rc1 - I migrated my reproduction example on this branch: https://github.com/jase88/primeng-table-scrollheight-flex-firefox/tree/18.0.0-rc.1
If [virtualScroll]=true
is set, no items are displayed at all within the tbody. If setting [virtualScroll]=false
the content is displayed, but a NG0100: ExpressionChangedAfterItHasBeenCheckedError
error occurs.
Should I create two new bug issues for 18rc1?
Describe the bug
If using a lazy table with virtual scrolling and scrollHeight=flex
on Firefox the content is hidden and the scrolling jumps to the top if resizing. This only occurs if scrolling a bit within the table. If kept in initial scrolling state resizing works fine.
https://github.com/user-attachments/assets/caa92de4-186b-4e17-a038-bb054a3b5780
After Scrolling again the content reappears.
Environment
MacOS 15.1 Firefox 132.0.2
Reproducer
https://github.com/jase88/primeng-table-scrollheight-flex-firefox
Angular version
18.2.0
PrimeNG version
17.18.12
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.8.0
Browser(s)
Firefox 132.0.2
Steps to reproduce the behavior
https://github.com/jase88/primeng-table-scrollheight-flex-firefox
npm install && npm run start
localhost:4200
on FirefoxExpected behavior