This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Description
In my use case, I put a Grid component in a overflow: auto element, then the prop scrollTo not working
<div style="height: 300px; overflow: auto">
<Grid ... scrollTo="activeIndex">...</Grid>
</div>
I think the reason is the prop scrollTo is implemented with window.scrollTo.
Grid.vue: L114-L120
onUpdated(
once(() => {
windowScrollTo$.subscribe((next) => {
window.scrollTo({ top: next, behavior: "smooth" });
});
})
);
Do you have any ideas or solutions to improve the scrollTo with my use case?