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, }}