1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Scroll to bottom on pod id change

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-09-02 14:33:00 +03:00
parent 968621f7c6
commit c4538e928b

View File

@ -78,7 +78,7 @@ export const LogList = observer(({ model }: LogListProps) => {
// Initial scroll to bottom
rowVirtualizer.scrollToIndex(visibleLogs.get().length - 1, { align: 'end', smoothScroll: false });
}, 200)
}, [])
}, [model.logTabData.get()?.selectedPodId])
return (
<div