You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: Custom SVG images don't render on modebar correctly #7669
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.
We're treating this as low-priority for now, but may pick it up in the future if we have more bandwidth. We'd welcome a PR addressing this fix and recognize that strict CSP may have limited use.
This looks like querySelector('.icon path') only picking up the first path in the modebar hover/active styling. I have a small fix that styles every path, plus a jasmine test, and can open a PR for it.
Activity
ndrezn commentedon Dec 10, 2025
A PR for this fix should add a test to prevent future regressions.
ndrezn commentedon Dec 10, 2025
We're treating this as low-priority for now, but may pick it up in the future if we have more bandwidth. We'd welcome a PR addressing this fix and recognize that strict CSP may have limited use.
thelastbackspace commentedon Nov 6, 2026
This looks like
querySelector('.icon path')only picking up the first path in the modebar hover/active styling. I have a small fix that styles every path, plus a jasmine test, and can open a PR for it.