mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32: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);
|
this.$emit('blur', event);
|
||||||
},
|
},
|
||||||
onKeyDown(event) {
|
onKeyDown(event) {
|
||||||
// Android keyboard event
|
if (this.disabled || DomHandler.isAndroid()) {
|
||||||
const isAndroidKeyboardEvent = event.isComposing || event.keyCode === 229;
|
|
||||||
|
|
||||||
if (this.disabled || isAndroidKeyboardEvent) {
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue