Skip to content

bug(material/list): Whitespace before the content in list in v15 #26164

Open
@mrmokwa

Description

@mrmokwa

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

v14

Description

In your html template, if you break line, a blank space will render inside the content of your list item line.

Actual Behavior

image

image

image


This Works, but my prettier configuration doesn't allow it

image

image

image

Environment

  • Angular: v15
  • CDK/Material: v15
  • Browser(s): Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2The issue is important to a large percentage of users, with a workaroundarea: material/listregressionThis issue is related to a regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions