Skip to content

Commit

Permalink
Tag Input: Fix enter key on Android (#3031)
Browse files Browse the repository at this point in the history
Fix #2890.
Fix #1440.

Tested it on browserstack:
- enter works on iphone 13
- enter works on pixel 7
- also works on my real android phone

Signed-off-by: Jimmy Tanagra <[email protected]>
  • Loading branch information
jimtng authored Jan 23, 2025
1 parent d203a02 commit bb669d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default {
},
keyUp (evt) {
this.pendingTag = evt.target.value
if (evt.code === 'Enter') {
if (evt.key === 'Enter') {
this.addTag(evt)
}
},
Expand Down

0 comments on commit bb669d8

Please sign in to comment.