More UI tweaks (#10974)

* Show loading indicator when switching between preview and recording if it takes a while

* Scroll down to avoid automatic upscroll
This commit is contained in:
Nicolas Mowen
2024-04-14 14:43:43 -06:00
committed by GitHub
parent 7f424bb3f8
commit d7ae0eedf8
2 changed files with 15 additions and 3 deletions

View File

@@ -279,6 +279,9 @@ function Logs() {
}
})
.catch(() => {});
contentRef.current?.scrollBy({
top: 10,
});
}
});
if (node) startObserver.current.observe(node);