Skip to content

Commit b144965

Browse files
committed
merge this pull request: akveo#1752
1 parent ee7aa83 commit b144965

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/devsupport/components/measure/measure.component.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ export const MeasureElement: React.FC<MeasureElementProps> = (props): MeasuringE
7575

7676
const measureSelf = (): void => {
7777
const node: number = findNodeHandle(ref.current);
78-
UIManager.measureInWindow(node, onUIManagerMeasure);
78+
79+
if (node) {
80+
UIManager.measureInWindow(node, onUIManagerMeasure);
81+
}
7982
};
8083

8184
if (props.force) {

0 commit comments

Comments
 (0)