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
These templates are instantiated several times on the page.
The content is client-side generated. Initially, the page displays correctly but when I interact with the page to cause it to update, instances of the first template used have the class attribute missing. So, instead of this:
<pclass="panel-heading is-size-7 p-1 is-radiusless">
My Title
</p>
I get this:
<p>
My Title
</p>
My code uses the Section template first, so this is the one that shows the problem. But if I copy the HTML and create a template from a plain string instead, then the NoteCard template is the one that has the problem and the class="note-card" attribute missing.
The problem only occurs if hot reloading is enabled. To disable hot reloading, I can build a Release configuration, or I can comment out the hot reloading code (AddHotReload, UseHotReload, and Program.withHotReload).
The text was updated successfully, but these errors were encountered:
I have a template file that contains two templates:
These templates are instantiated several times on the page.
The content is client-side generated. Initially, the page displays correctly but when I interact with the page to cause it to update, instances of the first template used have the
class
attribute missing. So, instead of this:I get this:
My code uses the Section template first, so this is the one that shows the problem. But if I copy the HTML and create a template from a plain string instead, then the NoteCard template is the one that has the problem and the
class="note-card"
attribute missing.The problem only occurs if hot reloading is enabled. To disable hot reloading, I can build a Release configuration, or I can comment out the hot reloading code (
AddHotReload
,UseHotReload
, andProgram.withHotReload
).The text was updated successfully, but these errors were encountered: