Open dfernandez-elastic opened 6 days ago
I checked your code base, and when we click the .p-multiselect-item-group
element, the event bubbles until the onContainerClick method. In that method, we are triggering a focus.
Is there any reason why we are doing that? Can we disable it for group option clicks?
Describe the bug
MultiSelect is auto scrolling to selected option when clicking a group option element.
Demo:
https://github.com/user-attachments/assets/003cf15e-08c3-409a-84c2-6c9c4983a4e6
Environment
-
Reproducer
No response
Angular version
18.1.1
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.15.1
Browser(s)
Chrome 127.0.6533.120
Steps to reproduce the behavior
Expected behavior
Dropdown should not scroll