You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wrap mat-table within a cdk-virtual-scroll-viewport element
add sticky: true property to *matHeaderRowDef directive as stated in documentation
observe sticky header slide down the viewport after about 10 rows.
Expected Behavior
Expect when adding the sticky:true; property to mat-table *matHeaderRowDef directive wrapped within a cdk-virtual-scroll-viewport that the headers remain positioned at the top of the viewport.
Actual Behavior
As you scroll the cdk-virtual-scroll-viewport slides the entire mat-table instead of just the row contents wrapped in the tbody element.
Environment
Angular: >= 7
CDK/Material: >= 7
Browser(s): chrome, firefox, opera, safari
Operating System (e.g. Windows, macOS, Ubuntu): all
karimsacre, SleekPanther, SteGriff, emoralesb05, keatkeat87 and 4 more