[VarDumper] Expand nested properties by default. Reverts #35959 #39523
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR reverts changes made by PR #35959
PR #35959 changed the VarDumper HTML output to be collapsed by default instead of expanded by default.
This prevents developers to debug HTML response on a browser's developer tools' network tab preview pane.
Some developers relied on the output to be expanded by default when debugging AJAX responses. As the preview pane on the network tab doesn't run JavaScript, after PR #35959 one could not see the expanded properties anymore.
Just for the record, PR #35959 addresses issue #35800, where a user asked for changing the behavior to be collapsed by default as in their machine there was some flickering as the collapse was done by JavaScript after rendering.
This PR just reverts to the previous behavior, it does not attempt to fix or workaround the request from issue #35800, so maybe that could be reopened for further assessment.
More info can be found on the discussion on ticket #39394