Skip to content

Commit

Permalink
fix ngx
Browse files Browse the repository at this point in the history
  • Loading branch information
wfjsw committed Jan 20, 2024
1 parent 998ed2a commit e55c663
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/web/src/observers/general/GeneralObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ export function GeneralObserver() {
.handleChildList(Array.from(mutation.addedNodes))
.forEach((t) => result.add(t));
}
if (mutation.removedNodes.length > 0) {
nodeHandler
.handleChildList(Array.from(mutation.removedNodes))
.forEach((t) => result.delete(t));
}
break;

case 'attributes':
Expand Down

0 comments on commit e55c663

Please sign in to comment.