fixing moving observable in DOM
This commit is contained in:
@@ -12,7 +12,8 @@ export class UmbObserver<T> {
|
||||
// Notice controller class implements empty hostConnected().
|
||||
|
||||
hostDisconnected() {
|
||||
this.#subscription.unsubscribe();
|
||||
// No cause then it cant re-connect, if the same element just was moved in DOM.
|
||||
//this.#subscription.unsubscribe();
|
||||
}
|
||||
|
||||
destroy(): void {
|
||||
|
||||
Reference in New Issue
Block a user