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

Bug: React DevTools in Firefox doesn't respect UI font size #20876

Closed
craigkovatch opened this issue Feb 25, 2021 · 4 comments
Closed

Bug: React DevTools in Firefox doesn't respect UI font size #20876

craigkovatch opened this issue Feb 25, 2021 · 4 comments
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug

Comments

@craigkovatch
Copy link

This works fine in Chrome React DevTools, only an issue in the Firefox flavor.

React version: N/A

Steps To Reproduce

  1. Use the React DevTools in Firefox
  2. With the Components inspector open, press e.g. CMD-+ or CMD-- to increase/decrease the UI font size

The current behavior

The rest of the debugger UI reacts (heh) to the change in font size, but the React DevTools font remains tiny. This is a critical accessibility issue -- I have a visual disability and this makes the DevTools extremely hard to use.

image

The expected behavior

The React DevTools UI also changes font size.

@craigkovatch craigkovatch added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Feb 25, 2021
@bvaughn
Copy link
Contributor

bvaughn commented Feb 25, 2021

Huh. This is interesting. Works correctly in Chrome. I wonder why it wouldn't in Firefox.

@lPadier
Copy link

lPadier commented Feb 25, 2021

From what I've been able to find, this appears to be a bug in Firefox:
This is the bug in firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1583716

This previous issue (#16413) on this repo reports that ctrl / cmd + mousewheel allows one to zoom, but ctrl / cmd 0 or ctrl / cmd + and - are ignored within the panel.

Mousewheel affects the zoom of the entire devtools pane, but the keyboard shortcuts do not extend to the extension pane.

@craigkovatch
Copy link
Author

craigkovatch commented Feb 25, 2021

Ah, my apologies for the apparent duplicate then. That's quite unfortunate :(

@bvaughn
Copy link
Contributor

bvaughn commented Feb 25, 2021

No problem @craigkovatch. I had forgotten about that other issue and I was one of the people commenting on the thread. 😁

Sounds like it was filed as a Firefox bug (which is where it belongs I think) so I'm going to go ahead and close this issue I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Developer Tools Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants