We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f02b3a commit 28a882cCopy full SHA for 28a882c
stencil-workspace/src/components/modus-table/parts/cell/modus-table-cell-main/modus-table-cell-main.tsx
@@ -140,10 +140,12 @@ export class ModusTableCellMain {
140
141
if (key === 'tab' && isCellEditable) {
142
this.editMode = !this.editMode;
143
- const nextCell = this.cellEl.nextElementSibling?.querySelector('modus-table-cell-main') as any;
+ const nextCell = this.cellEl.nextElementSibling?.querySelector(
144
+ 'modus-table-cell-main'
145
+ ) as unknown as ModusTableCellMain;
146
if (nextCell) {
147
nextCell.editMode = true;
- nextCell.focus();
148
+ (nextCell as unknown as HTMLElement).focus();
149
}
150
event.preventDefault();
151
0 commit comments