Skip to content

[VarDumper] Expand // Collapse is broken #48545

@lyrixx

Description

@lyrixx

Symfony version(s) affected

6.2.1

Description

With a very fresh Symfony 6.2 the HTML dump does not work well.
When I click on it does not expand / collapse anymore, and the dump is always expanded.

How to reproduce

symfony new --webapp  symfony-62
cd symfony-62
bin/console make:controller Homepage
symfony serve -d
code src/Controller/HomepageController.php

⬇️

#[Route('/', name: 'app_homepage')]
    public function index(): Response
    {
        dd([
            'a' => [
                'b' => [
                    'c' => [
                        '' => range(1, 10),
                    ]
                ]
            ]
        ]);

image

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions