Archived
fix(ui): scroll session/workspace lists only on positive reveal triggers
Live data refreshes (messageCount churn from session status publication, workspace topology refreshes) replace the sessions/workspaces arrays and the selected object with same-id copies, and each replacement re-scrolled the selected row into view. Replace the broad updated() scroll triggers with positive reveal triggers: a different row becoming selected (first render included), the archived reveal path, a restore moving the selected row from archived back to current (same id, archived flag cleared), and section expansion. The sessions/workspaces array triggers are removed, not guarded.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@jmfederico/pi-web": patch
|
||||
---
|
||||
|
||||
Stop the session and workspace lists from re-scrolling to the selected row on live data refreshes, such as message-count updates while a session streams or workspace topology refreshes. The lists now scroll the selection into view only when the selection moves to a different row, an archived session is revealed, a restored session moves back to the current section, or a collapsed section expands.
|
||||
Reference in New Issue
Block a user