Skip to content

Commit b92663e

Browse files
committed
Fixed bug event bug
1 parent 69928a4 commit b92663e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/src/EmojiList.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export default class EmojiList extends Component {
3939
break;
4040
case "Enter":
4141
case "Tab":
42+
e.preventDefault();
4243
const { char } = this.filtered[this.state.option];
4344
this.props.onChange(`${char} `);
4445
break;

0 commit comments

Comments
 (0)