Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[react dev tools] errors + unresponsive to clicks #24638

Closed
roy-s opened this issue May 30, 2022 · 5 comments
Closed

[react dev tools] errors + unresponsive to clicks #24638

roy-s opened this issue May 30, 2022 · 5 comments

Comments

@roy-s
Copy link

roy-s commented May 30, 2022

  1. There are ofter errors relating to the addition of nodes to the store. Could this failure be more silent, and not completely hide the display?

  2. When opening the react dev tools in a separate window, it does not respond to clicks or hover in the tree section. I can still click a component in the "rendered by" section. Note that this does not happen when the dev tools are opened in the same window. Update: it also didn't happen when I tried to put the two windows side by side in the same screen for a recording...

Please see the attached screen capture for both issues.

rect_dev_tool_issues.mov

Thanks

@leidegre
Copy link
Contributor

leidegre commented May 30, 2022

I noticed this today to. At first I thought it was due to high cpu usage or some infinite loop stuff but it happens as soon as you try to scroll the tree view. This makes it difficult to navigate up in the component tree.

Using this version of React DevTools 4.24.6-ca7a38ae4

(not sure if this matters but...) I'm on React 16.13.1 and the issue is consistent between dev and prod builds.

@hinok
Copy link

hinok commented May 30, 2022

Confirm. The same issue with 16.9.0 but splitting window doesn't have any impact.
In my case opening dev tools and trying to click on anything inside the left Components window - "does nothing".
I'm able to fold/unfold items using a keyboard.

@Mathias-S
Copy link

Mathias-S commented May 30, 2022

Can confirm. When inspecting the devtools itself, I noticed that the div that lists the elements gets pointer-events:none when you start scrolling in it. When I remove that, it starts working as expected again.

  • React 17.0.2
  • Devtools version 4.24.6-ca7a38ae4
  • Chrome 102.0.5005.61

Edit: This is a duplicate of #24626

@petermarkovich
Copy link

Confirm. After "Seelct element to inspect", sometimes clicking on the component tree does not working. Only restart chrome dev tools help me.
Chrome: 102.0.5005.63
React: 16.9.0
React dev tools: 4.24.6 (5/12/2022)
it refers to №24626

@lunaruan
Copy link
Contributor

This is a duplicate of #24626. It's a Chrome bug in v102. We're working on a fix but for a temporary workaround:

  1. go to chrome://flags/
  2. search for Throttle non-visible cross-origin iframes
  3. change the flag to disable
  4. relaunch Chrome to make the change effective

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants