дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
fix(agents): keep clearing the held row while following the end
Цей коміт міститься в:
1 джерело
83e19d9225
коміт
2b129aa180
1 file changed
+4
-1
@@ -621,7 +621,10 @@ export function Stream({
|
||||
// before it paints. Following the end, the end stays in view.
|
||||
const el = ref.current;
|
||||
if (!el || typeof ResizeObserver === "undefined") return;
|
||||
const resize = new ResizeObserver(() => (position.current.stick ? followEnd() : holdShownRow()));
|
||||
const resize = new ResizeObserver(() => {
|
||||
holdShownRow();
|
||||
if (position.current.stick) followEnd();
|
||||
});
|
||||
const watch = () => {
|
||||
for (const row of el.querySelectorAll(`:scope > .${styles.conversationRow}`)) resize.observe(row);
|
||||
};
|
||||
|
||||
Reference in new issue
Заблокувати користувача