Skip to content

Multiselect: Last navigated item is selected after hitting tab #18584

@jase88

Description

@jase88

Describe the bug

Use a multiselect without filter and header, like this

<p-multiselect [filter]="false" [showClear]="true" [showHeader]="false"

The last navigated item is selected after hitting tab.

So tabbing to the next element has the same effect as hitting enter or space.

Screen.Recording.2025-07-09.at.15.33.50.mov

Pull Request Link

#19258

Reproducer

https://stackblitz.com/edit/6jz5m2az?file=src%2Fapp%2Fmulti-select-reactive-forms-demo.html

Environment

MacOS

Angular version

21

PrimeNG version

v21

Node version

24.12.0

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Open Multiselect via Keyboard enter
  2. Select 1-2 items by navigating to them via arrow keys and hitting enter or space
  3. navigate to an unselected item and hit tab

Expected behavior

item is not automatically selected after hitting tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions