fix(FloatingBubble): does not update status while hidden (#12207)

This commit is contained in:
ShuGang Zhou
2023-08-20 08:56:17 +08:00
committed by GitHub
parent 5dc2f4dcd2
commit 4b52766eb6
@@ -104,6 +104,9 @@ export default defineComponent({
});
const updateState = () => {
// onDeactivated with window size change will cause this
if (!show.value) return;
const { width, height } = useRect(rootRef.value!);
const { offset } = props;
state.value = {