mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-06-28 21:20:04 +00:00
fix cell edit broken
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user