mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Merge pull request #4878 from harundemr/master
Fix #4509 - Editable dropdown doesn't open when typing on a mobile de…
This commit is contained in:
commit
e980ac7ded
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue