primefaces / primefaces/primereact

AutoComplete: panel height should fit items when using virtual scrolling

Open
#7,237 5 comments 0 reactions 1 assignee View on GitHub

@mertsincan is already working on this.

Since Sep 26, 2024.

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

Description

Describe the bug

Enabling virtual scrolling in <AutoComplete /> has the following undesired side effect:
image

Compare with the behavior without virtual scrolling:
image

Reproducer

https://primereact.org/autocomplete/#virtualscroll

System Information
System:
    OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 2.24 GB / 15.40 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
  Browsers:
    Chrome: 129.0.6668.58
  npmPackages:
    primereact: 10.6.6 => 10.8.3 
    react: 18.2.0 => 18.2.0

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.