---
id: 5541
title: 'vdom.Helper: createDeltas() => does not remove all nodes when clearing an array'
state: CLOSED
labels:
  - bug
assignees:
  - tobiu
createdAt: '2024-07-07T12:43:49Z'
updatedAt: '2024-07-07T13:35:34Z'
githubUrl: 'https://github.com/neomjs/neo/issues/5541'
author: tobiu
commentsCount: 1
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2024-07-07T12:44:43Z'
---
# vdom.Helper: createDeltas() => does not remove all nodes when clearing an array

Example: colors app, switch from 10 to 5 rows:
![Screenshot 2024-07-07 at 14 42 08](https://github.com/neomjs/neo/assets/1177434/90b2f401-10e1-46c6-966e-4e05f8e0d562)


## Timeline

- 2024-07-07T12:43:49Z @tobiu added the `bug` label
- 2024-07-07T12:43:50Z @tobiu assigned to @tobiu
- 2024-07-07T12:44:12Z @tobiu referenced in commit `7bff78e` - "vdom.Helper: createDeltas() => does not remove all nodes when clearing an array #5541"
- 2024-07-07T12:44:43Z @tobiu closed this issue
### @Dinkh - 2024-07-07T13:35:33Z

Thanks a lot. Good job


