try to keep template indexes valid
This commit is contained in:
1 parent
036e1ff0f5
commit
cf04256395
4 files changed
+17
-2
No files matched your search
@@ -214,6 +214,10 @@ impl<'b> VirtualDom {
|
||||
let scope_id = left.scope.get().unwrap();
|
||||
|
||||
right.scope.set(Some(scope_id));
|
||||
if let Some(bubble_id) = left.bubble_id.get() {
|
||||
right.bubble_id.set(Some(bubble_id));
|
||||
self.update_template_bubble(bubble_id, parent.unwrap().template);
|
||||
}
|
||||
|
||||
// copy out the box for both
|
||||
let old = self.scopes[scope_id.0].props.as_ref();
|
||||
|
||||
Reference in new issue
Block a user