Skip to content

Commit a01be39

Browse files
authored
fix(layers): set attached flag on start to enable proper detach/remount (#82)
1 parent 33218af commit a01be39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/LayersService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export class Layers extends Emitter {
5959
}
6060
this.updateSize();
6161
this.resizeObserver.observe(this.$root, { box: "border-box" });
62+
this.attached = true;
6263
}
6364

6465
public detach(full = false) {

0 commit comments

Comments
 (0)