React-devtools: Uncaught TypeError: node.getBoundingClientRect is not a function in backend.js ln 9046

Created on 14 Apr 2016  ·  14Comments  ·  Source: facebook/react-devtools

I just got this error in my chrome console today:

Uncaught TypeError: node.getBoundingClientRect is not a function.

It appears every time I hover an element in the dev tools extension. See attached screenshot.
I am on version 0.14.9 and Chrome is Version 50.0.2661.66 beta-m (64-bit)

image

Most helpful comment

Hi All,
Any Update on this issue? I am still facing same issue as mentioned.

node.getBoundingClientRect is not a function

All 14 comments

I'm having the same problem (React Developer Tools 0.14.9, React 15.0.1, Chrome 49). I think it's related to a change in React 15.0.0. It seems to occur when node is a comment.

It would be fixed by #361.

Right-clicking on the text node and selecting "Scroll to node" from the context menu throws backend.js:396: Uncaught TypeError: node.scrollIntoView is not a function for the same reason (node is a comment node).

Is this then fixed now that #361 is merged?

still a problem

For me, the error seems to only throw when I hover over a Text Node

Same here, only when hovering a text node

Same here on Firefox 50

Hi All,
Any Update on this issue? I am still facing same issue as mentioned.

node.getBoundingClientRect is not a function

Same Here

This was fixed by #361 but we mistakingly shipped an old version to Firefox addons website.
We’ll release an update in a day or two with some new fixes, including this fix.

@Arnavion Yes but it will be fixed by #413

Cool, thanks.

Firefox version was also updated now with a fix (and a bunch of other fixes that mistakingly weren’t deployed for a few months 😄 ).

Was this page helpful?
0 / 5 - 0 ratings