Skip to content

MDC Web version of chips doesn't respect NoopAnimationsModule #18642

Closed
@heathkit

Description

@heathkit

Reproduction

Steps to reproduce:

  1. Set up an autocomplete dialog with chips
  2. Import 'NoopAnimationsModule'

Even though _animationsDisabled is true on the mat-chip component, it still renders the entry animation from here

See b/150330611 for an example test

Expected Behavior

The animation should be disabled.

Actual Behavior

The animation is applied! The chips still pop in, you can see the animation in the CSS, etc.

Environment

  • Angular: Head
  • CDK/Material: HEAD (MDC Web)
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Linux

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions