I am hitting an error when clicking a dropdown type cell. I only have two rows in the table so I’m not sure why it’s trying to select row 2. Anyway, the TD doesn’t exist so I get an error. Please add a null check here in the code. Thank you!
afterSelectionEnd: (startRow, startCol) => {
if (rootInstanceAriaTagsEnabled) {
// **** TD can be null, setAttribute throws *******
const TD = this.htEditor.getCell(startRow, startCol, true);
setAttribute(TD, [A11Y_SELECTED()]);
setAttribute(this.TEXTAREA, ...A11Y_ACTIVEDESCENDANT(TD.id));
}
}
