html-next / vertical-collection

Infinite Scroll and Occlusion at > 60FPS
https://html-next.github.io/vertical-collection/
MIT License
176 stars 76 forks source link

error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. #392

Closed patricklx closed 1 year ago

patricklx commented 1 year ago

i get this error when I have many updates to the collection and scrolling at the same time. it does not happen everytime. related test for it https://github.com/emberjs/ember-inspector/pull/2219

patricklx commented 1 year ago

the rendering seems to be done during the update phase, because runloop in invoked here: https://github.com/html-next/vertical-collection/blob/master/addon/-private/data-view/radar/radar.js#L546. could that be causing it?

patricklx commented 1 year ago

found that we are also using ember-table 4 which uses an older version of vertical-collection and its using that one... using latest vertical-collection fixes this issue