-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The addon doesn't work on the links I use on one of my pages (on the intranet) which contain svg icons. I got the minimal example below:
<a href="mailto:example@google.com&subject=Example" title="Create an empty email addressed to everyone in this section">
<svg class="MuiSvgIcon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation">
<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path>
</svg>
</a>I stipped down all classes except this one:
.MuiSvgIcon-root {
fill: currentColor;
width: 1em;
height: 1em;
display: inline-block;
font-size: 1.5rem;
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
flex-shrink: 0;
user-select: none;
}As soon as I replace the inner HTML with a text, it works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels