fix(FloatingBubble): fix wrong value of boundary (#12067)
This commit is contained in:
@@ -83,8 +83,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
const boundary = computed<FloatingBubbleBoundary>(() => ({
|
const boundary = computed<FloatingBubbleBoundary>(() => ({
|
||||||
top: props.gap,
|
top: props.gap,
|
||||||
right: windowWidth.value - state.value.height - props.gap,
|
right: windowWidth.value - state.value.width - props.gap,
|
||||||
bottom: windowHeight.value - state.value.width - props.gap,
|
bottom: windowHeight.value - state.value.height - props.gap,
|
||||||
left: props.gap,
|
left: props.gap,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user