Android: fix inaccurate scroll when slider in gallery style

This commit is contained in:
王劲鹏
2023-06-14 11:08:22 +08:00
committed by osborn
parent 1b105d70e4
commit 722d0873d4
2 changed files with 21 additions and 2 deletions

View File

@@ -33,5 +33,9 @@ class SliderStyleDemo extends Panel {
heightSpec: LayoutSpec.MOST,
}
}))
setTimeout(() => {
pager.slidePage(this.context, 2, false);
}, 200)
}
}