We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5374edf commit a37dbeeCopy full SHA for a37dbee
src/cdk/scrolling/virtual-scroll-viewport.scss
@@ -75,13 +75,12 @@ cdk-virtual-scroll-viewport {
75
.cdk-virtual-scroll-spacer {
76
height: 1px;
77
transform-origin: 0 0;
78
+ flex: 0 0 auto; // prevents spacer from collapsing if display: flex is applied
79
80
// Note: We can't put `will-change: transform;` here because it causes Safari to not update the
81
// viewport's `scrollHeight` when the spacer's transform changes.
82
83
[dir='rtl'] & {
- right: 0;
84
- left: auto;
85
transform-origin: 100% 0;
86
}
87
0 commit comments