diff --git a/src/renderer/components/dock/pod-log-list.tsx b/src/renderer/components/dock/pod-log-list.tsx index b403c055d8..a3ab172a16 100644 --- a/src/renderer/components/dock/pod-log-list.tsx +++ b/src/renderer/components/dock/pod-log-list.tsx @@ -97,7 +97,7 @@ export class PodLogList extends React.Component { const { scrollHeight, clientHeight } = this.virtualListDiv.current; const { scrollOffset } = props; - this.isLastLineVisible = clientHeight + scrollOffset === scrollHeight; + this.isLastLineVisible = (clientHeight + scrollOffset) === scrollHeight; }; /**