1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 23:10:05 +00:00

fix(log): fixed scrolling issue

This commit is contained in:
Yury Shkoda
2023-04-27 17:53:45 +03:00
parent 87e9172cfc
commit 56a522c07c
3 changed files with 21 additions and 9 deletions

View File

@@ -189,6 +189,7 @@ const LogComponent = (props: LogComponentProps) => {
key={`log-chunk-${id}`}
logLineCount={logObject.linesCount}
scrollToLogInstance={scrollToLogInstance}
updated={Date.now()}
onClick={(_, chunkNumber) => {
setLogChunksState((prevState) => {
const newState = [...prevState]