Skip to content

Commit

Permalink
fix: InputNumber does not work on Android devices fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Reddy Uppathi committed Nov 12, 2024
1 parent 333bebd commit fd0280a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/primevue/src/inputnumber/InputNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,9 @@ export default {
let selectionEnd = event.target.selectionEnd;
let inputValue = event.target.value;
let newValueStr = null;
const code = event.code || event.key;
switch (event.code) {
switch (code) {
case 'ArrowUp':
this.spin(event, 1);
event.preventDefault();
Expand Down

0 comments on commit fd0280a

Please sign in to comment.