Skip to content

Commit

Permalink
fix(floating-bubble): update offset when the value changed (youzan#12730
Browse files Browse the repository at this point in the history
)
  • Loading branch information
chouchouji authored and CatsAndMice committed Apr 8, 2024
1 parent c03e047 commit c0c422c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vant/src/floating-bubble/FloatingBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export default defineComponent({
watch(
[windowWidth, windowHeight, () => props.gap, () => props.offset],
updateState,
{ deep: true },
);

const show = ref(true);
Expand Down

0 comments on commit c0c422c

Please sign in to comment.