Merge pull request #4878 from harundemr/master

Fix #4509 - Editable dropdown doesn't open when typing on a mobile de…
pull/4967/head
Tuğçe Küçükoğlu 2023-12-13 11:25:52 +03:00 committed by GitHub
commit e980ac7ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -317,7 +317,7 @@ export default {
this.$emit('blur', event);
},
onKeyDown(event) {
if (this.disabled) {
if (this.disabled || DomHandler.isAndroid()) {
event.preventDefault();
return;
@ -402,6 +402,8 @@ export default {
!matched && (this.focusedOptionIndex = -1);
this.updateModel(event, value);
!this.overlayVisible && this.show();
},
onContainerClick(event) {
if (this.disabled || this.loading) {