Merge pull request #4878 from harundemr/master
Fix #4509 - Editable dropdown doesn't open when typing on a mobile de…pull/4967/head
commit
e980ac7ded
|
@ -317,7 +317,7 @@ export default {
|
||||||
this.$emit('blur', event);
|
this.$emit('blur', event);
|
||||||
},
|
},
|
||||||
onKeyDown(event) {
|
onKeyDown(event) {
|
||||||
if (this.disabled) {
|
if (this.disabled || DomHandler.isAndroid()) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
@ -402,6 +402,8 @@ export default {
|
||||||
!matched && (this.focusedOptionIndex = -1);
|
!matched && (this.focusedOptionIndex = -1);
|
||||||
|
|
||||||
this.updateModel(event, value);
|
this.updateModel(event, value);
|
||||||
|
|
||||||
|
!this.overlayVisible && this.show();
|
||||||
},
|
},
|
||||||
onContainerClick(event) {
|
onContainerClick(event) {
|
||||||
if (this.disabled || this.loading) {
|
if (this.disabled || this.loading) {
|
||||||
|
|
Loading…
Reference in New Issue