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 48af163 commit 789ed34Copy full SHA for 789ed34
packages/react-devtools-shared/src/backend/fiber/renderer.js
@@ -2283,6 +2283,9 @@ export function attach(
2283
return null;
2284
}
2285
const range = doc.createRange();
2286
+ if (typeof range.getClientRects !== 'function') {
2287
+ return null;
2288
+ }
2289
range.selectNodeContents(instance);
2290
rects = range.getClientRects();
2291
} else {
0 commit comments