Merge pull request #2999 from andrew-schlackman/fix-renderer-pause

fix renderer pausing inadvertently in some cases
This commit is contained in:
Daniel Imms
2020-07-10 06:11:01 -07:00
committed by GitHub
+1 -1
View File
@@ -86,7 +86,7 @@ export class RenderService extends Disposable implements IRenderService {
}
private _onIntersectionChange(entry: IntersectionObserverEntry): void {
this._isPaused = entry.intersectionRatio === 0;
this._isPaused = !entry.isIntersecting;
if (!this._isPaused && this._needsFullRefresh) {
this.refreshRows(0, this._rowCount - 1);
this._needsFullRefresh = false;