Skip to content

Incorrect indentation after multi-line self-closing element #284

Description

@jackocnr

See below gif. If self-closing element is on a single line, then the next line indentation works correctly. If I change the self-closing element to be over multiple lines, then the next line indentation aggressively enforces the wrong indentation. Both when you hit enter to create a new line, and when you type any character on that line.

jsx-indentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions