File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
cdk-experimental/scrolling Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ function finishInit(fixture: ComponentFixture<any>) {
91
91
encapsulation : ViewEncapsulation . None ,
92
92
} )
93
93
class AutoSizeVirtualScroll {
94
- @ViewChild ( CdkVirtualScrollViewport ) viewport : CdkVirtualScrollViewport ;
94
+ @ViewChild ( CdkVirtualScrollViewport , { static : true } ) viewport : CdkVirtualScrollViewport ;
95
95
96
96
@Input ( ) orientation = 'vertical' ;
97
97
@Input ( ) viewportSize = 200 ;
Original file line number Diff line number Diff line change @@ -117,9 +117,8 @@ export class MatDrawerContent extends CdkScrollable implements AfterContentInit
117
117
'class' : 'mat-drawer' ,
118
118
'[@transform]' : '_animationState' ,
119
119
120
- // These are commented out until FW-943 can be resolved.
121
- // '(@transform.start)': '_animationStarted.next($event)',
122
- // '(@transform.done)': '_animationEnd.next($event)',
120
+ '(@transform.start)' : '_animationStarted.next($event)' ,
121
+ '(@transform.done)' : '_animationEnd.next($event)' ,
123
122
124
123
// must prevent the browser from aligning text based on value
125
124
'[attr.align]' : 'null' ,
Original file line number Diff line number Diff line change @@ -61,9 +61,8 @@ export class MatSidenavContent extends MatDrawerContent {
61
61
'tabIndex' : '-1' ,
62
62
'[@transform]' : '_animationState' ,
63
63
64
- // These are commented out until FW-943 can be resolved.
65
- // '(@transform.start)': '_animationStarted.next($event)',
66
- // '(@transform.done)': '_animationEnd.next($event)',
64
+ '(@transform.start)' : '_animationStarted.next($event)' ,
65
+ '(@transform.done)' : '_animationEnd.next($event)' ,
67
66
68
67
// must prevent the browser from aligning text based on value
69
68
'[attr.align]' : 'null' ,
You can’t perform that action at this time.
0 commit comments