Skip to content

Commit

Permalink
Cannot read properties of undefined (reading 'domNode') (fix #226032) (
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero authored Aug 20, 2024
1 parent 8c66a69 commit e2b5430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/browser/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export class View extends ViewEventHandler {
if (this._renderAnimationFrame === null) {
const rendering = this._createCoordinatedRendering();
this._renderAnimationFrame = EditorRenderingCoordinator.INSTANCE.scheduleCoordinatedRendering({
window: dom.getWindow(this.domNode.domNode),
window: dom.getWindow(this.domNode?.domNode),
prepareRenderText: () => {
if (this._store.isDisposed) {
throw new BugIndicatingError();
Expand Down

0 comments on commit e2b5430

Please sign in to comment.