Skip to content

DataTable: Missing rows when filtering with VirtualScroller in Firefox #5118

@sasa0103

Description

@sasa0103

Describe the bug

When you scroll down some rows and use the filter, no result is shown. In Chrome it works, but not in Firefox. I used the example from the documentation (virtualscroller) and added some filters to reproduce the problem in my application.

Reproducer

https://codesandbox.io/s/primereact-demo-forked-kfn7nh?file=/src/App.js:745-754

PrimeReact version

10.0.5

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

Firefox 118.0.2 (64-bit)

Steps to reproduce the behavior

  1. Open example with table and filters
  2. Copy "Vin" value from first row
  3. Scroll down to e.g. line 20
  4. Enter copied text to filter
  5. Entry is not shown

Expected behavior

Row with the copied entry should be shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: StaleIssue or pull request is inactivity and unfortunately it will be *closed* if there is no responseType: BugIssue contains a defect related to a specific component.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions