We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee7aa83 commit b144965Copy full SHA for b144965
src/components/devsupport/components/measure/measure.component.tsx
@@ -75,7 +75,10 @@ export const MeasureElement: React.FC<MeasureElementProps> = (props): MeasuringE
75
76
const measureSelf = (): void => {
77
const node: number = findNodeHandle(ref.current);
78
- UIManager.measureInWindow(node, onUIManagerMeasure);
+
79
+ if (node) {
80
+ UIManager.measureInWindow(node, onUIManagerMeasure);
81
+ }
82
};
83
84
if (props.force) {
0 commit comments