primefaces / primefaces/primereact

Lazy loading is not triggered on filter input change in Dropdown

Open
#2,605 8 comments 2 reactions 1 assignee View on GitHub

@mertsincan is already working on this.

Since Jul 6, 2022.

Type: Enhancement
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case

https://codesandbox.io/s/mystifying-bhaskara-v2twz?file=/src/demo/DropdownDemo.js

Current behavior
Filter input does not trigger virtual load

Expected behavior
onLazyLoad callback should be called on filter input change

Minimal reproduction of the problem with instructions

  • Create virual scroll dropdown with lazy load
  • Add filter
  • Try to type some text in filter's input
  • Nothing happens
  • PrimeReact version:
    7.1.0 and 7.2.0

  • Browser: [Chrome]

  • Language: [all]

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.