Uh oh!
There was an error while loading. Please reload this page.
refactor(overlay): use component to render backdrop - #6627
Conversation
| constructor(private _element: ElementRef, private _renderer: Renderer2) {} | ||
| _setClass(cls: string) { |
There was a problem hiding this comment.
I'd rename cls to either cssClass or just c
(cls has a different meaning for me)
| backdropClick(): Observable<void> { | ||
| return this._backdropClick.asObservable(); | ||
| return this._backdropInstance ? this._backdropInstance._clickStream.asObservable() : | ||
| empty<void>(); |
There was a problem hiding this comment.
Since the function return type is Observable<void>, you don't really need the asObservable call
bd6f9c4 to
9a114f5Compare9a114f5 to
93a64b5Compare93a64b5 to
f2c1fa0Compare4cb861c to
2dcf30eComparekara
commented
Oct 4, 2017
@crisbeto Linter strikes again |
crisbeto
commented
Oct 4, 2017
Fixed. |
kara
commented
Oct 5, 2017
@crisbeto CI looks unhappy again |
dbdc289 to
0a87d53CompareAlright, now the CI should be happy. |
8214290 to
d1eb5dbComparecrisbeto
commented
Nov 9, 2017
Rebased again. |
bc9f71c to
254e770Comparejelbourn
commented
Nov 21, 2017
Some Google teams are using |
254e770 to
5a42a9dComparecrisbeto
commented
Nov 21, 2017
Rebased and re-added the |
5a42a9d to
9373ff8Comparejosephperrott
commented
Mar 30, 2018
@crisbeto Did you want to rebase and work on getting this one in? |
bc9a464 to
a4e7e80Comparecrisbeto
commented
Mar 31, 2018
Rebased and fixed a few issues @josephperrott. |
Uses an Angular component to render the backdrop, instead of managing a DOM element manually. This has the advantage of being able to leverage the animations API to transition in/out, as well as not having to worry about the cases where the backdrop animation is disabled. These changes also enable the backdrop transition for the dialog (previously it would be removed immediately on close).
a4e7e80 to
fe28d4bComparejelbourn
commented
Apr 26, 2018
Going to close this since it's not a big priority and would need further investigation into presubmit failures |
jrood
commented
Jun 21, 2018
Requesting for this issue to be reopened in light of issues highlighted in #11806 |
jelbourn
commented
Jun 21, 2018
We ended up abandoning this because it caused many test failures for various google apps, meaning it would probably cause many more test failures for the community at large. |
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. |
Uses an Angular component to render the backdrop, instead of managing a DOM element manually. This has the advantage of being able to leverage the animations API to transition in/out, as well as not having to worry about the cases where the backdrop animation is disabled.
These changes also enable the backdrop transition for the dialog (previously it would be removed immediately on close).