diff --git a/src/components/devsupport/components/measure/measure.component.tsx b/src/components/devsupport/components/measure/measure.component.tsx index 8abb33f5c..dc695c6d9 100644 --- a/src/components/devsupport/components/measure/measure.component.tsx +++ b/src/components/devsupport/components/measure/measure.component.tsx @@ -75,7 +75,7 @@ export const MeasureElement: React.FC = (props): MeasuringE const measureSelf = (): void => { const node: number = findNodeHandle(ref.current); - UIManager.measureInWindow(node, onUIManagerMeasure); + if (typeof node === 'number') UIManager.measureInWindow(node, onUIManagerMeasure); }; if (props.force) {