Skip to content

dir="auto" is changed by Dir directive #13855

Closed
@alirezamirian

Description

@alirezamirian

Bug:

Dir directive treats anything other than rtl and ltr as invalid value, and changes dir attribute to ltr which breaks dir="auto".

What is the expected behavior?

It should not change dir attribute. dir="auto" is perfectly fine.

What is the current behavior?

It changes it to ltr

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

All versions since this pull request is merged.

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