Vue V1.9.4 Tab Tabs Indicator Position Bug Fix

/icons/calendar.svg

Last update

Aug 19, 2024

Recalculates tabs indicator position on direction change in the Tab Component

Example

Before

watch(
() => context.modelValue.value,
async (n) => {
await nextTick();
updateIndicatorStyle();
}, { immediate: true },
);

After

watch(
() => [context.modelValue.value, context?.dir.value],
async () => {
await nextTick();
updateIndicatorStyle();
}, { immediate: true },
);

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now