mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-21 05:49:16 +08:00
fix(FloatingBubble): fix wrong value of boundary (#12067)
This commit is contained in:
parent
186a3f95c4
commit
6a544b4449
@ -83,8 +83,8 @@ export default defineComponent({
|
||||
|
||||
const boundary = computed<FloatingBubbleBoundary>(() => ({
|
||||
top: props.gap,
|
||||
right: windowWidth.value - state.value.height - props.gap,
|
||||
bottom: windowHeight.value - state.value.width - props.gap,
|
||||
right: windowWidth.value - state.value.width - props.gap,
|
||||
bottom: windowHeight.value - state.value.height - props.gap,
|
||||
left: props.gap,
|
||||
}));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user