mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
corrected android device check
This commit is contained in:
parent
0a10427acc
commit
225c470d73
1 changed files with 1 additions and 4 deletions
|
@ -317,10 +317,7 @@ export default {
|
|||
this.$emit('blur', event);
|
||||
},
|
||||
onKeyDown(event) {
|
||||
// Android keyboard event
|
||||
const isAndroidKeyboardEvent = event.isComposing || event.keyCode === 229;
|
||||
|
||||
if (this.disabled || isAndroidKeyboardEvent) {
|
||||
if (this.disabled || DomHandler.isAndroid()) {
|
||||
event.preventDefault();
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue