message: frontend: Fix "Cannot read property of null" errors on pod logs page
diff: @@ -67,6 +67,7 @@ export class LogWindow extends React.PureComponent {
  _handleResize() {
  const toRescale = this.logContents;
  + if (toRescale) {
  const originalHeight = toRescale.clientHeight;
  const viewportHeight = window.innerHeight;
  @@ -77,12 +78,13 @@ export class LogWindow extends React.PureComponent {
  });
  }
  }
  + }
  _scrollToBottom() {
  if (this.props.logState === 'streaming') {
  // Async because scrollHeight depends on the size of the rendered pane
  setTimeout(() => {
  - if (this.props.logState === 'streaming') {
  + if (this.scrollPane && this.props.logState === 'streaming') {
  this.scrollPane.scrollTop = this.scrollPane.scrollHeight;
  }
  }, 0);
  