fix(web): move chat metrics into top-bar information panel
This commit is contained in:
@@ -516,6 +516,9 @@ export function createModalController(options = {}) {
|
||||
const wasTop = index === stack.length - 1;
|
||||
stack.splice(index, 1);
|
||||
if (entry.panel?.parentElement) entry.panel.remove();
|
||||
// Lifecycle cleanup also runs for browser Back and programmatic closeAll,
|
||||
// not just the owner's Escape/backdrop request handler.
|
||||
entry.options?.onClosed?.();
|
||||
if (wasTop) {
|
||||
const next = top();
|
||||
if (next) setLowerInert(next, false);
|
||||
|
||||
Reference in New Issue
Block a user