react-devtools icon indicating copy to clipboard operation
react-devtools copied to clipboard

Devtools unresponsive in Chrome

Open erichdev opened this issue 9 years ago • 26 comments

Some time this week, React Devtools stopped working in Chrome. It successfully connects to React and displays all the root components, then becomes completely unresponsive. I can't expand the components, select "Highlight updates," etc. No interaction is possible.

I've tried reinstalling the extension and disabling all other extensions. It also doesn't matter what website I'm on. Devtools still works on Firefox.

Chrome: 61.0.3163.100 (Official Build) (64-bit) Windows 10 version 1703

This is what I see from the React docs site. Clicking anything in Devtools is unresponsive, even scrolling. devtools

Edit: Possibly related to https://github.com/facebook/react-devtools/issues/896. However, for me, this issue does not cause my dev tools to gray out and I'm still able to open other tabs.

erichdev avatar Sep 22 '17 17:09 erichdev

I can confirm the same behavior for me on both Chrome and Chrome Beta

MikeJCusack avatar Sep 25 '17 15:09 MikeJCusack

Yes, i having the same issue for chrome Version 61.0.3163.100 (Official Build) (64-bit)

holysnake91 avatar Sep 26 '17 03:09 holysnake91

I'm also seeing this same behaviour. When I double-click on a node, it will expand, but no interaction is possible in the props/state panel.

juanojeda avatar Sep 26 '17 07:09 juanojeda

This may sound weird but I was using a second monitor and dev tools wasn't working on the second screen. (- mine was freezing my dev tools -) Moving my chrome window back onto my laptop screen seems to have resolved the issue, don't ask me how or why, but I've checked with a few people having a similar issue and its appears to be a temporary fix.

rickcav avatar Sep 26 '17 20:09 rickcav

@rickcav Thanks! That worked for me. Interestingly, moving the window from the external monitor to the laptop screen and back to the monitor works.

erichdev avatar Sep 28 '17 00:09 erichdev

This just happened for me too: Version 61.0.3163.100 (Official Build) (64-bit)

I moved the window from my external monitor to my laptop screen and back to the external monitor, and it seems to be working again.

I tried disabling and reinstalling the extension to no avail before I found this thread.

randseay avatar Oct 05 '17 15:10 randseay

@rickcav Thanks, that did the trick. Weird huh?

HarplingeTom avatar Oct 07 '17 04:10 HarplingeTom

@rickcav Thank you!! Note: I had to move the browser to my laptop screen, close and reopen dev tools before I had functionality again.

MikeB2012 avatar Oct 17 '17 16:10 MikeB2012

Same problem — workaround of moving back and forth between monitors fixes. Forces a re-render, as opposed to some kind of cached bitmap for the ui?

wruth avatar Oct 17 '17 20:10 wruth

@rickcav I think this is related to a varying display scaling setting between the 2 monitors. I'm experiencing the same issue, and your suggestion also "solved" it. My primary monitor is at 200% display scaling and my secondary monitor at 100% display scaling. However when I set both monitors to 100% scaling I had no issues using the React console on either monitor.

paulvandenburg avatar Oct 18 '17 15:10 paulvandenburg

Not sure but after you flip the panel to the main monitor it typically doesn't freeze up unless you restart your computer. I had the issue on my old laptop 1080p monitor and new with 4 k monitor scaling is offset on the new but also had the issue on the previous laptop.

On Oct 18, 2017 8:50 AM, "Paul van den Burg" [email protected] wrote:

@rickcav https://github.com/rickcav I think this is related to a varying display scaling setting between the 2 monitors. I'm experiencing the same issue, and your suggestion also "solved" it. My primary monitor is at 200% display scaling and my secondary monitor at 100% display scaling. However when I set both monitors to 100% scaling I had no issues using the React console on either monitor.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/react-devtools/issues/897#issuecomment-337637097, or mute the thread https://github.com/notifications/unsubscribe-auth/AdAYyw01eSCPeiFU72puztdbGGySeN1aks5sth4ogaJpZM4PhADZ .

rickcav avatar Oct 18 '17 16:10 rickcav

That is probably because in most cases windows sets laptops also on a larger than 100% display scaling where most external monitors just get 100% except high pixel density ones like uhd.

In my experience it also isn't freezing, it just is unresponsive to any mouse interaction, I can still tab through the React console fine using the keyboard. However only using the keyboard is quite unpractical obviously.

paulvandenburg avatar Oct 18 '17 16:10 paulvandenburg

Is this a Chrome dev tools bug or react devtools one? Getting the same issue on both Chrome and Opera btw (confirmed with external monitor scaled differently). And it looks like disabling the extension doesn't solve the problem

albertogasparin avatar Oct 27 '17 09:10 albertogasparin

Not sure I just encountered the problem with Chrome & React dev tools.

From: Alberto Gasparin [mailto:[email protected]] Sent: Friday, October 27, 2017 2:52 AM To: facebook/react-devtools Cc: Rick Cavanaugh; Mention Subject: Re: [facebook/react-devtools] Devtools unresponsive in Chrome (#897)

Is this a Chrome dev tools bug or react devtools one? Getting the same issue on both Chrome and Opera btw (confirmed with external monitor scaled differently). And it looks like disabling the extension doesn't solve the problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/react-devtools/issues/897#issuecomment-339927233 , or mute the thread https://github.com/notifications/unsubscribe-auth/AdAYy_BUtdH07OfJYpust1Pgk4g9dxTLks5swaeogaJpZM4PhADZ . https://github.com/notifications/beacon/AdAYy4HuUf8tdJrRHC0EOY3ibRVoABLlks5swaeogaJpZM4PhADZ.gif

rickcav avatar Oct 27 '17 16:10 rickcav

Please file a bug with Chrome. We didn't change anything related.

gaearon avatar Nov 14 '17 10:11 gaearon

Same Chrome Bug - 2 monitors scenario... working fine on Microsoft Edge ..

phantom2017-Nov avatar Nov 21 '17 14:11 phantom2017-Nov

PLEASE DON’T ADD MORE “ME TOO” COMMENTS.

They aren’t helpful. Again, please go ahead and file a bug with Chrome instead.

gaearon avatar Nov 21 '17 14:11 gaearon

(When you file a bug, please post a link to it here. I’ll ask someone from Google to help get a look at it.)

gaearon avatar Nov 21 '17 14:11 gaearon

There already seems to be a related bug on the chromium bug tracker: https://bugs.chromium.org/p/chromium/issues/detail?id=778443 Although after some quick testing I no longer seem to have this issue on chrome version 62.0.3202.94

paulvandenburg avatar Nov 21 '17 15:11 paulvandenburg

Can somebody else please try Chrome 62 (latest stable) and report whether the issue still exists?

gaearon avatar Nov 21 '17 15:11 gaearon