mirror of
https://github.com/spartan-ng/spartan.git
synced 2026-09-22 16:41:38 +08:00
35f1a92586
Destroying a host while its overlay/dialog is open ran the onDestroy forceClose(), which emits on closed$/stateChanged$. The subscriptions forwarded those to the component outputs after the directive was destroyed, logging NG0953 in dev mode. Set a destroyed flag (registered before the forceClose teardown) and skip the emits once it is set.
@spartan-ng/brain/overlay
Floating panel primitive for non-dialog portal components.