Component: Autocomplete with virtualScroll does not resize options container #15643
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
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
While after the upgrade it just adds a vertical scrollbar
Version 17
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
The text was updated successfully, but these errors were encountered: