Vue V1.9.4 WatchPostEffect Placed Update

1.0.0Last update Aug 19, 2024
by@dfordp

When floating-ui returned isPositioned=true, radix-vue immediately emitted an event to focus on the selected item in the Select component. However, at this point, the PopperContent element did not yet have the correct transform CSS property set, resulting in the Popper being positioned at coordinates (0, -200%).

Credits to the contributor

Example

Before

import { watchEffect } from 'vue';
watchEffect(() => {});

After

import { watchPostEffect } from 'vue';
watchPostEffect(() => {});

Build custom codemods

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

background illustrationGet Started Now