devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Components Disappearing from the Tree

Open joezimjs opened this issue 3 years ago • 1 comments

Version

6.1.4

Browser and OS info

Chrome 100 / Windows 11

Steps to reproduce

https://youtu.be/Qt9YhZsXano I honestly don't have time to try to figure out the minimal steps to reproduce or anything like that. It's a relatively complicated bunch of components, but I removed a ton from the page to make sure that wasn't the issue. Anyway, the only thing I can tell you is that the components are hidden via display: none, but they're showing up in the component tree. Then I click the button to make them show up and a certain subset of them disappear from the component tree in the dev tools.

What is expected?

The component tree should continue to show components that exist in the tree

What is actually happening?

They're being removed from the tree in the dev tools

joezimjs avatar May 03 '22 22:05 joezimjs

Just tried something: there's a Suspense at the root of the AttributeValuesContainer. If I remove it, then the problem goes away.

joezimjs avatar May 03 '22 22:05 joezimjs