fix calendar scroll down on load; bump ui package version

This commit is contained in:
Gregor Vostrak
2026-03-29 23:02:22 +02:00
parent 3d26fcaefe
commit e2f859be27
2 changed files with 13 additions and 1 deletions

View File

@@ -314,6 +314,18 @@ watch(
{ deep: true }
);
let hasScrolledOnLoad = false;
watch(
() => props.loading,
(loading) => {
if (!loading && !hasScrolledOnLoad) {
hasScrolledOnLoad = true;
scrollToCurrentTime();
}
}
);
onMounted(() => {
scrollToCurrentTime();
emitDatesChange();