From c5d9e04c2c925c71aa7c3e11c97a96537f474008 Mon Sep 17 00:00:00 2001 From: AllenFang Date: Sun, 17 Mar 2019 16:30:39 +0800 Subject: [PATCH] fix #817 --- packages/react-bootstrap-table2/src/row/should-updater.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-bootstrap-table2/src/row/should-updater.js b/packages/react-bootstrap-table2/src/row/should-updater.js index 813dbb5..bcef92e 100644 --- a/packages/react-bootstrap-table2/src/row/should-updater.js +++ b/packages/react-bootstrap-table2/src/row/should-updater.js @@ -8,7 +8,8 @@ export default ExtendBase => return ( nextProps.editingRowIdx === nextProps.rowIndex || (this.props.editingRowIdx === nextProps.rowIndex && - nextProps.editingRowIdx === null) + nextProps.editingRowIdx === null) || + this.props.editingRowIdx === nextProps.rowIndex ); }