mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
fix(virtual-scroll): rebuild cells on resizing (#18878)
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user