message: Prevent the text rendering from blowing up when Embedded viewer is involved
diff: @@ -151,10 +151,12 @@ export class CanvasTextLayer implements TextLayer {
  }
  scrollRows(config: LayerConfig, viewPortSize: ViewPortSize): void {
  + if (this._charRenderCanvas != null) {
  if (Math.abs(config.firstRow - this._lastConfig.firstRow) < this._charRenderCanvas.getCellGrid().height) {
  // Scroll the existing contents
  this._charRenderCanvas.scrollVertical(config.firstRow - this._lastConfig.firstRow);
  }
  + }
  this.update(config, viewPortSize);
  }
  