Skip to content

Commit e8a2860

Browse files
committed
avoid input event being cancelled when typing space in combobox input
1 parent aa74cb0 commit e8a2860

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

resources/js/components/ui/Combobox/Combobox.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ function updateDropdownOpen(open) {
292292
293293
function openDropdown(e) {
294294
if (dropdownOpen.value) return;
295+
if (e.target.tagName === 'INPUT') return;
295296
if (typeof e.preventDefault === 'function') e.preventDefault();
296297
297298
updateDropdownOpen(true);

0 commit comments

Comments
 (0)