Skip to content

mat-chip separatorKeyCodes doesn't work if the mat-auto-complete panel is open  #17448

@achrafjdily

Description

@achrafjdily

Reproduction

Use StackBlitz to reproduce your issue: https://run.stackblitz.com/api/angular/v1?file=app%2Fchips-autocomplete-example.ts

Steps to reproduce:

  1. try to write 'app' and tap enter or comma to add the chip
  2. you can't add 'app' in this case because apple is present in the autocomplete

Expected Behavior

The autocomplete should not prevent the user from adding chips

Actual Behavior

The autocomplete prevent adding chips

Environment

  • Angular:8.1.0
  • CDK/Material:8.2.1
  • Browser(s): chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): win 10

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentdocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions