Merge remote-tracking branch 'origin/main' into feat-v4
commit
d241a06f9d
|
@ -114,7 +114,6 @@ const Affix = defineComponent({
|
|||
const placeholderRect = getTargetRect(placeholderNode.value as HTMLElement);
|
||||
const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop.value);
|
||||
const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom.value);
|
||||
|
||||
if (
|
||||
placeholderRect.top === 0 &&
|
||||
placeholderRect.left === 0 &&
|
||||
|
|
|
@ -56,6 +56,7 @@ export default defineComponent({
|
|||
triggerVisible.value = false;
|
||||
}
|
||||
|
||||
emit('visibleChange', false);
|
||||
emit('overlayClick', e);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue