Skip to content

Commit 548f9cc

Browse files
committed
fix5
1 parent 4192088 commit 548f9cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk/table/sticky-styler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ export class StickyStyler {
562562
height: entry.borderBoxSize[0].blockSize,
563563
}
564564
: {
565-
width: entry.contentRect.width,
566-
height: entry.contentRect.height,
565+
width: (entry.target as HTMLElement).offsetWidth,
566+
height: (entry.target as HTMLElement).offsetHeight,
567567
};
568568

569569
const cachedSize = this._elemSizeCache.get(entry.target as HTMLElement);

0 commit comments

Comments
 (0)