From 2016550e01696437af29c338c3ffa508e60542e2 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 1 Feb 2016 14:28:13 +0100 Subject: [PATCH] virtual-dom.js : identify problem area? --- www/common/virtual-dom.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/common/virtual-dom.js b/www/common/virtual-dom.js index 3a207fbf6..de5a34d6a 100644 --- a/www/common/virtual-dom.js +++ b/www/common/virtual-dom.js @@ -1319,6 +1319,10 @@ function walk(a, b, patch, index) { } } +/* FIXME + I think this is where it's wiping out younger siblings of a redrawn child + That's no good, because it causes redraws on children that should persist +*/ function diffChildren(a, b, patch, apply, index) { var aChildren = a.children var orderedSet = reorder(aChildren, b.children)