Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Commit 5d35009

Browse files
committed
fix: Focus open on regular input flicker
1 parent c948124 commit 5d35009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vue3DatePicker/components/DatepickerInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
};
105105
106106
const handleFocus = (): void => {
107-
if (props.textInputOptions?.openMenuOnFocus && !props.isMenuOpen) {
107+
if (props.textInput && props.textInputOptions?.openMenuOnFocus && !props.isMenuOpen) {
108108
emit('open');
109109
}
110110
};

0 commit comments

Comments
 (0)