mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
fix cell edit broken
This commit is contained in:
parent
1e76ca9bdb
commit
8499991c41
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user