-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(material/dialog) Use align
as @Input()
in MatDialogActions
#24178
fix(material/dialog) Use align
as @Input()
in MatDialogActions
#24178
Conversation
…tions directive instead of css Fixes multiple issues, such as self-documentation of the align attribute, type checking, better bindings, and IDE support. Because align is not standard for HTMLDivElement, it doesn't make much sense to assume end users to know they can use the align attribute. Fixes angular#18479
…of dialog actions directive Fixes multiple issues, such as self-documentation of the align attribute, type checking, better bindings, and IDE support. Because align is not standard for HTMLDivElement, it doesn't make much sense to assume end users to know they can use the align attribute. Fixes angular#18479 for material-experimental
align
as @Input() in dialog-actions directivealign
as @Input()
in dialog-actions directive
align
as @Input()
in dialog-actions directivealign
as @Input()
in MatDialogActions
Not sure why I get a Build error in circleci. I don't know what the Orb eddiewebb/queue is or why it isn't loaded on my branch. @crisbeto |
Me neither, I guess CircleCI is just being weird 🙁. This is a shot in the dark, but we could try squashing all the commits (currently it's only one) and recreating the PR. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Right now we're relying on css selectors
[align='center']
and[align='end']
for aligning action buttons in the dialog. Relying on a non-standard attribute causes some issues, such as no self-documentation, no type checkings, more annoying data-binding syntax and errors from IDEs and text editors (notably, VS Code marks the align-attribute as red).This is a continuation from this PR that failed to trigger CircleCI workflows, here
Fixes #18479