diff --git a/packages/react-bootstrap-table2/src/row/simple-row.js b/packages/react-bootstrap-table2/src/row/simple-row.js index b33e2c6..02e4bbb 100644 --- a/packages/react-bootstrap-table2/src/row/simple-row.js +++ b/packages/react-bootstrap-table2/src/row/simple-row.js @@ -14,7 +14,9 @@ class Row extends shouldUpdater(eventDelegater(Component)) { } shouldComponentUpdate(nextProps) { - this.shouldUpdateRowContent = this.shouldUpdatedByNormalProps(nextProps); + this.shouldUpdateRowContent = false; + this.shouldUpdateRowContent = + this.shouldUpdateByWhenEditing(nextProps) || this.shouldUpdatedByNormalProps(nextProps); if (this.shouldUpdateRowContent) return true; return this.shouldUpdatedBySelfProps(nextProps);