Closed markbrown4 closed 8 years ago
Sorry I didn't see this earlier. I will update the test cases and see what the issue is. I have a feeling it's the code at https://github.com/patrick-steele-idem/morphdom/blob/master/src/index.js#L426 should continue outer
instead of return
.
I have a PR https://github.com/patrick-steele-idem/morphdom/pull/86 but the build failed (looks like problems with PhantomJS).
EDIT: the restart worked. See if this fixes your issue, please.
Thanks for the fix @AutoSponge. New version published: morphdom@2.1.2
Yay! - this is amaze :D
Here's an example in Choo of having an element in the tree with isSameNode returning true and subsequent elements not getting re-rendered either.
The
timeView
element afteruntouchable
doesn't get re-rendered but I think it should.A fix seems to be wrapping the element with isSameNode in another element.