diff --git a/frontend/src/core/cells/ids.ts b/frontend/src/core/cells/ids.ts index 9e0f3c607dc..41310763d94 100644 --- a/frontend/src/core/cells/ids.ts +++ b/frontend/src/core/cells/ids.ts @@ -94,7 +94,7 @@ export const HTMLCellId = { */ export function findCellId(element: HTMLElement): CellId | null { let cellId: CellId | null = null; - const cellContainer = HTMLCellId.findElement(element); + const cellContainer = HTMLCellId.findElementThroughShadowDOMs(element); if (cellContainer) { cellId = HTMLCellId.parse(cellContainer.id); }