Skip to content

Tabbed media navigation breaks the editor preview for SVGs #19831

@argentini

Description

@argentini

Which Umbraco version are you using?

16.1.1

Bug summary

If there are content tabs in a custom media editor, like a tab for a dark mode version of an image, switching between tabs shows a garbage preview.

Specifics

In my case I was working with SVG images.

Steps to reproduce

Create a custom media data type with a content tab for a dark mode version of the image. Then create one of these media items and add images to both content tabs. When switching between them you should see one or both previews show junk.

Expected result / actual result

No response

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