Skip to content

Commit 841e7b1

Browse files
committed
VC-11716 reset snapshot when error cell is rendered
1 parent a47935e commit 841e7b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderer/by-cells.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ function paintCellsAsNeeded(gc) {
7474
// VC-6892 Use _simplifiedPaintCell instead of _paintCell for performance reason
7575
preferredWidth = Math.max(preferredWidth, this._paintCell(gc, pool[p]));
7676
} catch (e) {
77+
cellEvent.snapshot[0] = undefined; // force repaint next time
7778
this.renderErrorCell(e, gc, vc, pool[p].visibleRow);
7879
}
7980
}

0 commit comments

Comments
 (0)