mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
fix(FloatingBubble): fix wrong value of boundary (#12067)
This commit is contained in:
@@ -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,
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user