From c91819c94f838a6f89897b32104c67b8652dcf59 Mon Sep 17 00:00:00 2001 From: Manu MA Date: Wed, 24 Jul 2019 18:15:35 +0200 Subject: [PATCH] fix(virtual-scroll): rebuild cells on resizing (#18878) --- core/src/components/virtual-scroll/virtual-scroll.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/components/virtual-scroll/virtual-scroll.tsx b/core/src/components/virtual-scroll/virtual-scroll.tsx index 58d6bb0076..50fbd738b2 100644 --- a/core/src/components/virtual-scroll/virtual-scroll.tsx +++ b/core/src/components/virtual-scroll/virtual-scroll.tsx @@ -164,6 +164,7 @@ export class VirtualScroll implements ComponentInterface { @Listen('resize', { target: 'window' }) onResize() { + this.calcCells(); this.updateVirtualScroll(); }