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:
parent
968621f7c6
commit
c4538e928b
@ -78,7 +78,7 @@ export const LogList = observer(({ model }: LogListProps) => {
|
|||||||
// Initial scroll to bottom
|
// Initial scroll to bottom
|
||||||
rowVirtualizer.scrollToIndex(visibleLogs.get().length - 1, { align: 'end', smoothScroll: false });
|
rowVirtualizer.scrollToIndex(visibleLogs.get().length - 1, { align: 'end', smoothScroll: false });
|
||||||
}, 200)
|
}, 200)
|
||||||
}, [])
|
}, [model.logTabData.get()?.selectedPodId])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user