Component: Autocomplete with long list of options adds scrollbar to the whole page #14281
Labels
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If Autocomplete has a long list of options then the scrollbar will appear on the whole page and it is possible to scroll the page while overlay is opened. The scrollbar should appear only inside dropdown list.
Environment
Any environment
Reproducer
https://stackblitz.com/edit/fzpufg?file=src%2Fapp%2Fdemo%2Fautocomplete-basic-demo.html,src%2Fapp%2Fdemo%2Fautocomplete-basic-demo.ts
Angular version
17.0.0
PrimeNG version
17.0.0-rc.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
No response
Steps to reproduce the behavior
https://stackblitz.com/edit/fzpufg?file=src%2Fapp%2Fdemo%2Fautocomplete-basic-demo.html,src%2Fapp%2Fdemo%2Fautocomplete-basic-demo.ts
Expected behavior
The page should not be scrollable when dropdown is displayed. Only the list inside dropdown should be scrollable.
The text was updated successfully, but these errors were encountered: