From 95642610da8a1ab9253cf6bf6bb7f09d67dabbee Mon Sep 17 00:00:00 2001 From: Cherry7 <79909910+CCherry07@users.noreply.github.com> Date: Fri, 21 Apr 2023 13:55:28 +0800 Subject: [PATCH] fix(Select): fix polite span effect (#6467) --- components/vc-select/BaseSelect.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/vc-select/BaseSelect.tsx b/components/vc-select/BaseSelect.tsx index dbd14fea9..0b7ed9d30 100644 --- a/components/vc-select/BaseSelect.tsx +++ b/components/vc-select/BaseSelect.tsx @@ -700,7 +700,7 @@ export default defineComponent({ typeof getRawInputElement === 'function' && getRawInputElement(); const domProps = { ...restProps, - } as Omit; + } as Omit; // Used for raw custom input trigger let onTriggerVisibleChange: null | ((newOpen: boolean) => void); @@ -873,7 +873,7 @@ export default defineComponent({ style={{ width: 0, height: 0, - display: 'flex', + position: 'absolute', overflow: 'hidden', opacity: 0, }}