|
|
@@ -1253,10 +1253,11 @@ function _generateActionsFromChanges( oldChildrenLength, changes ) {
|
|
|
// We changed `howMany` old nodes, update `oldChildrenHandled`.
|
|
|
oldChildrenHandled += change.howMany;
|
|
|
} else {
|
|
|
+ // In order to properly handle item refreshing we do not merge "x" action nor do we allow renge refreshing.
|
|
|
actions.push( 'x' );
|
|
|
|
|
|
- // The last handled offset is after inserted range.
|
|
|
- offset = change.offset + change.howMany;
|
|
|
+ // The last handled offset is after inserted item (singular see above comment).
|
|
|
+ offset = change.offset + 1;
|
|
|
}
|
|
|
}
|
|
|
|