primefaces / primefaces/primereact

DataTable/VirtualScroller: Scrolling to the top shows empty table in Firefox

Open
#8,233 9 comments 0 reactions 1 assignee View on GitHub

@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
  1. Use Firefox
  2. Scroll the table to the bottom using the scrollbar
  3. Scroll the table to the top using the scrollbar
  4. Repeat the steps until the bug appears

Result: The table is empty

Image
Expected behavior

The top of the table should be displayed properly

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.