Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: Autocomplete with virtualScroll does not resize options container #15643

Open
hernanartesi-willdom opened this issue May 21, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@hernanartesi-willdom
Copy link

Describe the bug

I am upgrading from primeng 14 to 17 and I have a few p-autoComplete with virtualScroll. In the previous version, if the options were wider than the input, it would resize the container accordingly. Removing virtualScroll would work correctly but we have thousands of options so it is not possible for us.

Version 14

image

While after the upgrade it just adds a vertical scrollbar

Version 17

image

Steps to replicate: it can be replicated with the demo version, just reduce the size of the screen enough

Environment

Angular app using primeng

Reproducer

No response

Angular version

17.3.7

PrimeNG version

17.17.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.3.0

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

VirtualScroller is resized correctly to the width of the wider element

@hernanartesi-willdom hernanartesi-willdom added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant