mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Show Jump to bottom button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
4c74d5a780
commit
b8f4fa14bf
@ -9,6 +9,7 @@ import { cssNames } from "../../../utils";
|
||||
import { v4 as getRandomId } from "uuid";
|
||||
import { useScrollToBottomButton } from "./use-scroll-to-bottom";
|
||||
import { useInitialScrollToBottom } from "./use-initial-scroll-to-bottom";
|
||||
import { ToBottom } from "./to-bottom";
|
||||
|
||||
export interface LogListProps {
|
||||
model: LogTabViewModel;
|
||||
@ -111,6 +112,9 @@ export const LogList = observer(({ model }: LogListProps) => {
|
||||
))}
|
||||
<div className={styles.lastLine}></div>
|
||||
</div>
|
||||
{toBottomVisible && (
|
||||
<ToBottom onClick={scrollToBottom} />
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user