We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a37016 commit 608386fCopy full SHA for 608386f
components/vc-input/BaseInput.tsx
@@ -14,6 +14,7 @@ export default defineComponent({
14
const containerRef = ref();
15
const onInputMouseDown: MouseEventHandler = e => {
16
if (containerRef.value?.contains(e.target as Element)) {
17
+ e.preventDefault();
18
const { triggerFocus } = props;
19
triggerFocus?.();
20
}
0 commit comments