Skip to content

Commit

Permalink
Merge pull request #6768 from sivareddyuppathi/master
Browse files Browse the repository at this point in the history
fix: InputNumber does not work on Android devices fix
  • Loading branch information
tugcekucukoglu authored Nov 13, 2024
2 parents a697e18 + fd0280a commit 9e548f8
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 9e548f8

Please sign in to comment.