mirror of https://github.com/xwiki-labs/cryptpad
virtual-dom.js : identify problem area?
This commit is contained in:
parent
08fb010627
commit
2016550e01
|
@ -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) {
|
function diffChildren(a, b, patch, apply, index) {
|
||||||
var aChildren = a.children
|
var aChildren = a.children
|
||||||
var orderedSet = reorder(aChildren, b.children)
|
var orderedSet = reorder(aChildren, b.children)
|
||||||
|
|
Loading…
Reference in New Issue