You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug occurs when a user searches in the autocomplete input component with virtual scroll and reaches a "No results found" or ex. 1 suggestion state. Upon partially clearing the search term to bring back multiple results, the dropdown panel height does not automatically expand to display all results, remaining limited to a single row height.
Wrapping is needed because viewInit() was called after onShow() callback in onOverlayAnimationStart(evnet) which set resizeTimeout function.
Function onResize in scroller component imo is the source of the problem and it is not needed in case of AutoComplete/MultiSelect components. Invoked function calculateAutoSize() is enough and call onResize() just break the height of panel.
Another soulition is for example ovveride function in @ViewChild setter for example if we wrapper component is used.
Describe the bug
The bug occurs when a user searches in the autocomplete input component with virtual scroll and reaches a "No results found" or ex. 1 suggestion state. Upon partially clearing the search term to bring back multiple results, the dropdown panel height does not automatically expand to display all results, remaining limited to a single row height.
Environment
Windows, Chrome
Reproducer
No response
Angular version
18.2.8
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.4.0
Browser(s)
Chrome 130
Steps to reproduce the behavior
Expected behavior
Dropdown panel automatically expands it's height to display multiple results
The text was updated successfully, but these errors were encountered: