Skip to content

The open alternative to Salesforce, designed for AI.

278 B
Raw Blame
import { isDefined } from 'twenty-shared/utils';

export const isRootContainerInteractive = (
  rootContainer: Element | null,
): boolean =>
  isDefined(rootContainer) &&
  rootContainer.getClientRects().length > 0 &&
  getComputedStyle(rootContainer).pointerEvents !== 'none';