facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
229.24k stars 46.95k forks source link

[DevTools Bug]: Settings / Components / Hide components where... - need to be set on each reload. #31410

Open joacim-boive opened 1 week ago

joacim-boive commented 1 week ago

Website or app

https://react.dev/

Repro steps

When filtering components under "Hide components where... " you need to modify the filter each time you've reloaded the page and/or hide/show the Chrome DevTools. Otherwise the filter doesn't bite and the hidden components still show.

For example: Name matches Anonymous

Works fine the first time you enter it - all Anonymous components are hidden. Reload the page and the filter no longer applies. You need to open: Settings / Components / Hide components where... and modify the entry and it works again:

For example: Name matches Anonymous*

Or toggle OFF - close the dialog - open the dialog and toggle ON - Now Anonymous is hidden again.

Screenshot 2024-11-04 at 13 10 37

Using 6.0.1-c7c68ef842 of the extension Chrome Version 130.0.6723.92 (Official Build) (arm64)

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

dayabsm commented 1 week ago

This may be related to #16475.