Skip to content

Commit

Permalink
Fixed #2217 - Dropdown keypress doesn't support Turkish characters
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Aug 9, 2021
1 parent 30f8e48 commit 2f8c2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export class Dropdown extends Component {
clearTimeout(this.searchTimeout);
}

const char = String.fromCharCode(event.keyCode);
const char = event.key;
this.previousSearchChar = this.currentSearchChar;
this.currentSearchChar = char;

Expand Down

0 comments on commit 2f8c2d2

Please sign in to comment.