phoenix_live_view
Advanced tools
Comparing version 0.20.6 to 0.20.7
@@ -133,3 +133,2 @@ import { | ||
DOM.maybeAddPrivateHooks(el, phxViewportTop, phxViewportBottom) | ||
if(DOM.isFeedbackContainer(el, phxFeedbackFor)) feedbackContainers.push(el) | ||
this.trackBefore("added", el) | ||
@@ -149,2 +148,3 @@ | ||
if(el.getAttribute){ this.maybeReOrderStream(el, true) } | ||
if(DOM.isFeedbackContainer(el, phxFeedbackFor)) feedbackContainers.push(el) | ||
@@ -151,0 +151,0 @@ // hack to fix Safari handling of img srcset and video tags |
@@ -170,2 +170,9 @@ import { | ||
delete diff[COMPONENTS] | ||
// we must consider all newly added components as reset for proper change tracking | ||
if(newc){ | ||
let prevComponents = this.rendered[COMPONENTS] || {} | ||
for(let cid in newc){ | ||
if(prevComponents[cid] === undefined){ newc[cid].reset = true } | ||
} | ||
} | ||
this.rendered = this.mutableMerge(this.rendered, diff) | ||
@@ -172,0 +179,0 @@ this.rendered[COMPONENTS] = this.rendered[COMPONENTS] || {} |
{ | ||
"name": "phoenix_live_view", | ||
"version": "0.20.6", | ||
"version": "0.20.7", | ||
"description": "The Phoenix LiveView JavaScript client.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
{ | ||
"name": "phoenix_live_view", | ||
"version": "0.20.6", | ||
"version": "0.20.7", | ||
"description": "The Phoenix LiveView JavaScript client.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1393030
19159