question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Devtools in Firefox does not allow adding props or editing props/state/hooks

See original GitHub issue

Version:

  • React @ 16.13.1
  • Firefox @ 75.0 (version for Manjaro Linux)
  • DevTools version 4.6.0-6cceaeb67

IMPORTANT: I have the same React DevTools version 4.6.0-6cceaeb67 installed in Google Chrome Beta 81 and it’s working as expected.

Steps To Reproduce

  1. Open React DevTools Components tab
  2. Select a component with props/state
  3. Try to add props or edit props, state or hooks.

Here’s a screen grab of the issue:

react_devtools_issue Between the clicks, I’m typing on my keyboard, but nothing happens.

The current behavior

All keys typed in this tab are ignored.

The expected behavior

I should be able to add props or alter props, state, hooks, etc.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
bvaughncommented, Apr 17, 2020

Ah! Lucky guess 😄

I think that was recently fixed and rolled out to nightly (about a week ago): https://bugzilla.mozilla.org/show_bug.cgi?id=1610141

1reaction
bvaughncommented, Apr 16, 2020

@hbarcelos Do you, by chance, have the “search as you type” feature enabled?

Seems like there’s something unique going on with your version of Firefox because this works for me (and seems to work for others above)

This is Firefox: the component tree won’t even load.

With regard to this, have you tried reloading the page? Occasionally the Components tab doesn’t populate (not sure of the reason) but a reload always fixes it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox DevTools User Docs
Firefox Developer Tools is a set of web developer tools built into Firefox. You can use them to examine, edit, and debug HTML,...
Read more >
"Edit and resend" network requests doesn't appear to work
Click network tab, locate a request and right click + select "Edit and Resend". 4. Click the "send" button. Actual results: Nothing appears...
Read more >
React Developer Tools – Get this Extension for Firefox (en-US)
React Developer Tools is a tool that allows you to inspect a React tree, including the component hierarchy, props, state, and more.
Read more >
Inspect, Modify, and Debug React and Redux in Firefox with ...
It's easy to write, easy to use and is great for teams. In fact, the Mozilla community uses React to build a lot...
Read more >
1228985 - "Add new rule" is blocked by CSP - Bugzilla@Mozilla
I think we've had this problem already in the past and I seem to remember that CSP policies were not supposed to apply...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found