Skip to content

[VARDUMPER] Avoid propagating the click event outside the HTML dump #60065

@cesarreyes3

Description

@cesarreyes3

Symfony version(s) affected

All

Description

The click event is propagating to higher html nodes

How to reproduce

In some packages that use this renderer, when putting a click event on the parent that includes this dump, now when clicking on expand for arrays, the click event of the parent is also fired.

Possible Solution

Is it possible to add e.stopPropagation(); after e.preventDefault();?

Additional Context

It shouldn't be a breaking change

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy