Skip to content

Commit 9564261

Browse files
authored
fix(Select): fix polite span effect (#6467)
1 parent 69da428 commit 9564261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-select/BaseSelect.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ export default defineComponent({
700700
typeof getRawInputElement === 'function' && getRawInputElement();
701701
const domProps = {
702702
...restProps,
703-
} as Omit<keyof typeof restProps, typeof DEFAULT_OMIT_PROPS[number]>;
703+
} as Omit<keyof typeof restProps, (typeof DEFAULT_OMIT_PROPS)[number]>;
704704

705705
// Used for raw custom input trigger
706706
let onTriggerVisibleChange: null | ((newOpen: boolean) => void);
@@ -873,7 +873,7 @@ export default defineComponent({
873873
style={{
874874
width: 0,
875875
height: 0,
876-
display: 'flex',
876+
position: 'absolute',
877877
overflow: 'hidden',
878878
opacity: 0,
879879
}}

0 commit comments

Comments
 (0)