Skip to content

Zoom doesn't work if image is wrapped within a  #9

@alewolf

Description

@alewolf

The zoom doesn't work if the image is wrapped in a <details> tag.

The magnifying glass 🔎 shows up when I hover over the image, that means the image is detected by the selector, but when I click it, the image doesn't zoom.

You can find a demo here: https://sweetcode.com/docs/wpm/plugin-configuration/google-analytics

7yfo9 2022-02-21 07-04-52

It works fine if I don't wrap it in a <details> tag.

Is there a way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions