Fixing scroll bug.
This commit is contained in:
parent
34c2bbdb72
commit
8dbca09bd1
@ -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
Loading…
Reference in New Issue
Block a user