From 5184874cd65b4435263a102c43a98b0901c389a6 Mon Sep 17 00:00:00 2001 From: inokawa <48897392+inokawa@users.noreply.github.com> Date: Wed, 26 Jun 2024 00:48:07 +0900 Subject: [PATCH] Fix regression of Vue startMargin --- src/vue/Virtualizer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vue/Virtualizer.tsx b/src/vue/Virtualizer.tsx index 0eeb288f..c44ad42c 100644 --- a/src/vue/Virtualizer.tsx +++ b/src/vue/Virtualizer.tsx @@ -172,7 +172,8 @@ export const Virtualizer = /*#__PURE__*/ defineComponent({ () => props.startMargin, (value) => { store._update(ACTION_START_OFFSET_CHANGE, value); - } + }, + { immediate: true } ); watch(