Skip to content

Commit 2835086

Browse files
committed
fix pressing ESC can not escape from the cell editing, a bug from v3.3.1
1 parent 7104c6b commit 2835086

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TableBody.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ class TableBody extends Component {
405405
if (result !== Const.AWAIT_BEFORE_CELL_EDIT) {
406406
this.setState({ currEditCell: null });
407407
}
408+
} else {
409+
this.setState({ currEditCell: null });
408410
}
409411
}
410412

0 commit comments

Comments
 (0)