Agent Zero AI framework
fix hidden/hanging tooltips
3clyp5067256cc5fa78
diff --git a/webui/index.css b/webui/index.cssindex 7e635cc29..ccae2bf02 100644--- a/webui/index.css+++ b/webui/index.css@@ -132,7 +132,8 @@ body,/* Bootstrap-like tooltips */.tooltip {position: absolute;- z-index: 1080;+ /* Above custom modals (base z-index: 3000 in `webui/js/modals.js`) */+ z-index: 5000;display: block;margin: 0;font-family: var(--font-family-main);diff --git a/webui/js/modals.js b/webui/js/modals.jsindex 39abd643e..5e594e6ac 100644--- a/webui/js/modals.js+++ b/webui/js/modals.js@@ -177,6 +177,9 @@ export function openModal(modalPath) {export function closeModal(modalPath = null) {if (modalStack.length === 0) return;+ // Ensure any visible tooltips are hidden before removing modal DOM.+ tooltipsStore.hideAll();+let modalIndex = modalStack.length - 1; // Default to last modallet modal;