diff --git a/assets/js/phoenix_live_view/dom_patch.js b/assets/js/phoenix_live_view/dom_patch.js index f282b2b37..856dd2437 100644 --- a/assets/js/phoenix_live_view/dom_patch.js +++ b/assets/js/phoenix_live_view/dom_patch.js @@ -110,9 +110,7 @@ export default class DOMPatch { }) if(reset !== undefined){ DOM.all(container, `[${PHX_STREAM_REF}="${ref}"]`, child => { - if(!inserts[child.id]){ - this.removeStreamChildElement(child) - } + this.removeStreamChildElement(child) }) } deleteIds.forEach(id => {