diff --git a/orchestrator/templates/page-inbox.js b/orchestrator/templates/page-inbox.js index fc386e3..8cb05e4 100644 --- a/orchestrator/templates/page-inbox.js +++ b/orchestrator/templates/page-inbox.js @@ -248,14 +248,12 @@ const key = keyOf(item); flip(key); ui.cursor = Math.max(visibleInbox().findIndex((entry) => keyOf(entry) === key), 0); - const top = inboxDom.scrollTop; drawInbox(); drawGrant(); const box = inboxDom.querySelector(`.item[data-index="${ui.cursor}"] > input[type="checkbox"]`); if (refocus && box) { box.focus({preventScroll: true}); } - inboxDom.scrollTop = top; } function reviewsPill(item) { diff --git a/orchestrator/templates/style-tasks.css b/orchestrator/templates/style-tasks.css index 6633a19..52c3d18 100644 --- a/orchestrator/templates/style-tasks.css +++ b/orchestrator/templates/style-tasks.css @@ -8,6 +8,7 @@ .task-toolbar > .choice-request { margin-left: auto; } .tasks > .chips { margin-bottom: 0; } body.fit .graph.tasks > .tasks-body, body.fit .graph.tasks > .inbox { flex: 1; min-height: 0; overflow: auto; } +.inbox { overflow-anchor: none; } .choice-agents { display: grid; gap: 6px; max-height: 30vh; overflow: auto; } .choice-buttons { display: flex; flex-wrap: wrap; gap: 6px; } .chip .count { margin-left: 2px; }