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 }}
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
I'm not sure if this is the appropriate place to file this issue, but since this repo's focus is on IE/Edge Legacy support, I thought I would start here.
The Problem
I came across a hydration bug within Svelte that relates to the @html directive and IE11's lack of support for SVGElement.prototype.innerHTML. As you can see in the example below, the icon is displayed before hydration and then disappears.
Example
<script>consticonData=`<line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>`;</script><div>Can you see the plus svg icon right below disappear upon hydration? 👇</div><svg>{@html iconData}</svg>
results in something similar to:
Proposed Solution
Add a polyfill
The text was updated successfully, but these errors were encountered:
I'm not sure if this is the appropriate place to file this issue, but since this repo's focus is on IE/Edge Legacy support, I thought I would start here.
The Problem
I came across a hydration bug within Svelte that relates to the
@html
directive and IE11's lack of support forSVGElement.prototype.innerHTML
. As you can see in the example below, the icon is displayed before hydration and then disappears.Example
results in something similar to:
Proposed Solution
Add a polyfill
The text was updated successfully, but these errors were encountered: