diff --git a/src/components/grid/grid.ts b/src/components/grid/grid.ts index 63d6a92cab..349d8d412f 100644 --- a/src/components/grid/grid.ts +++ b/src/components/grid/grid.ts @@ -273,7 +273,7 @@ export class Grid extends Component { !this.env.model.getters.getSelectedFigureId() && this.env.model.getters.getEditionMode() === "inactive" ) { - this.hiddenInput.el!.focus(); + this.hiddenInput.el?.focus(); } }