fix(virtual-scroll): rebuild cells on resizing (#18878)

This commit is contained in:
Manu MA
2019-07-24 18:15:35 +02:00
committed by GitHub
parent 3ef6ecf422
commit c91819c94f

View File

@ -164,6 +164,7 @@ export class VirtualScroll implements ComponentInterface {
@Listen('resize', { target: 'window' }) @Listen('resize', { target: 'window' })
onResize() { onResize() {
this.calcCells();
this.updateVirtualScroll(); this.updateVirtualScroll();
} }