Skip to content

[BUG]: Custom SVG images don't render on modebar correctly #7669

@DanielTOsborne

Description

@DanielTOsborne

Description

SVG images with multiple paths used as modebar icon don't color correctly since 3.0.0.
I noticed the "fill" style is only set on the initial path element, not all of them.

Screenshots/Video

"SVG" image
Image

Image

Steps to reproduce

https://jsfiddle.net/m1x7unsf/1/

Notes

It works fine up through 2.35.3, breaks in 3.0.0.
I believe the cause is 46ea43c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokenregressionthis used to work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions