Skip to content

bug(material/chips): Chip is cleared when entering the editing state.  #27462

Closed
@zarend

Description

@zarend

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Issue that only affects editable chips. When entering the editing state of a chip, the chip appears to empty. IT's content is deleted

Reproduction

Steps to reproduce:

  1. Navigate to "Chips with Input" example in dev-app
    2.(Favorite Fruits field appears with "lemon", "lime", "Apple")
  2. Double click ("lemon")

Expected Behavior

Expecting to show "lemon" with a cursor at the end to indicate editing.

I cannot seem to consistently reproduce, but @wagnermaciel has been able to reproduce.

I can reproduce on other apps but not on any of our examples.

Actual Behavior

Displays empty circle followed by "lemon", "lime".

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/chips

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions