primefaces / primefaces/primereact
DataTable/VirtualScroller: Scrolling to the top shows empty table in Firefox
Open
@Coderxrohan is already working on this.
Since Feb 4, 2026.
Browser: Firefox
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When using Firefox, sometimes scrolling to the top of the virtual table doesn't show the table content
Reproducer
https://primereact.org/datatable/#virtualscroll
System Information
Browsers: Firefox only, seems to work fine is Chrome and Edge
Steps to reproduce the behavior
- Use Firefox
- Scroll the table to the bottom using the scrollbar
- Scroll the table to the top using the scrollbar
- Repeat the steps until the bug appears
Result: The table is empty
Expected behavior
The top of the table should be displayed properly
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.