vertical-collection icon indicating copy to clipboard operation
vertical-collection copied to clipboard

Bug: Updating deleted items

Open Atrue opened this issue 3 years ago • 0 comments

After removing the item from the list the item's node can still exist in the virtual domPool element so its component isn't destroyed and can be updated by Ember.

This behavior isn't working for computed fields on the ember models. Ember rejects the error when trying to access the computed property on the destroyed object if it hasn't been consumed before.

Assertion Failed: Attempted to access the computed `computedProperty` on a destroyed object, which is not allowed.

Expected behavior: if the item is removed from the items list, this node shouldn't be updated or should be removed.

Atrue avatar May 23 '22 09:05 Atrue