all expanded means no timeouts
3clyp50 committed
Jan 22, 2026 at 09:31 UTC
b745daa82dddfdb084a27cbed4960baff14a62c6
1 file changed
+5
webui/js/messages.js
+5
@@ -1421,7 +1421,12 @@ function addStepCollapseInteractionHandlers(stepElement) {
1421
});
1422
1423
// On leave, start a new timeout ONLY if user hasn't explicitly clicked
1424
+ // and only in "current" mode (in "expanded" mode, everything stays open)
1425
stepElement.addEventListener("mouseleave", () => {
1426
+ const detailMode = preferencesStore.detailMode;
1427
+ // Don't schedule collapse in "expanded" mode - user wants everything open
1428
+ if (detailMode === "expanded") return;
1429
+
1430
// Don't restart timeout if user has explicitly interacted (clicked)
1431
if (stepElement.classList.contains("step-expanded") &&
1432
!stepElement.hasAttribute("data-user-pinned")) {