File tree 1 file changed +7
-6
lines changed
src/components/tile-manager
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -310,12 +310,6 @@ export default class IgcTileComponent extends EventEmitterMixin<
310
310
public set maximized ( value : boolean ) {
311
311
this . _maximized = value ;
312
312
313
- const { width, height } = value
314
- ? this . _resizeState . emptyResizeDimensions
315
- : this . _resizeState . resizedDimensions ;
316
-
317
- this . _resizeContainer ?. setSize ( width , height ) ;
318
-
319
313
if ( this . _tileManagerCtx ) {
320
314
this . _tileManagerCtx . instance . requestUpdate ( ) ;
321
315
}
@@ -653,6 +647,13 @@ export default class IgcTileComponent extends EventEmitterMixin<
653
647
}
654
648
655
649
protected override render ( ) {
650
+ const { width, height } =
651
+ this . fullscreen || this . maximized
652
+ ? this . _resizeState . emptyResizeDimensions
653
+ : this . _resizeState . resizedDimensions ;
654
+
655
+ this . _resizeContainer ?. setSize ( width , height ) ;
656
+
656
657
return html `
657
658
< igc-resize
658
659
part =${ partNameMap ( {
You can’t perform that action at this time.
0 commit comments