Multiselect: Last selected item is removed from selection when TABbing away from opened list #16851
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Milestone
Describe the bug
This is mainly related to accessibility. When user opens a multiselect component, selects a few options and then presses TAB key to move to next/previous focusable item on the page, the last selected option gets deselected.
Environment
Windows 11
Reproducer
https://stackblitz.com/edit/github-p4anhh?file=src%2Fapp%2Fapp.component.html
Angular version
18.0.1
PrimeNG version
18.0.1-rc
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.18.0
Browser(s)
Chrome 131
Steps to reproduce the behavior
Expected behavior
All the selected multiselect options stay selected when navigating away from opened multiselect using TAB key.
The text was updated successfully, but these errors were encountered: