Fixing scroll bug.

This commit is contained in:
sergiotarxz 2023-07-14 00:56:26 +02:00
parent 34c2bbdb72
commit 8dbca09bd1
2 changed files with 8 additions and 1 deletions

View File

@ -125,6 +125,13 @@ export default function UpperPanel (props: UpperPanelProps): JSX.Element {
)
}
setTimeout(() => {
const logDiv = logPresentationRef.current
if (logDiv === null) {
return
}
logDiv.scrollTo(0, logDiv.scrollHeight)
}, 100)
return (
<Presentation>
<PresentationItem>

File diff suppressed because one or more lines are too long