mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(virtual-scroll): update VS when items change
This commit is contained in:
@ -112,6 +112,7 @@ export class VirtualScroll {
|
|||||||
@Watch('items')
|
@Watch('items')
|
||||||
itemsChanged() {
|
itemsChanged() {
|
||||||
this.calcCells();
|
this.calcCells();
|
||||||
|
this.updateVirtualScroll();
|
||||||
}
|
}
|
||||||
|
|
||||||
async componentDidLoad() {
|
async componentDidLoad() {
|
||||||
|
Reference in New Issue
Block a user