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
When using <include(input) />, that content is being lost during a particular redraw (it sometimes comes back after another redraw).
Context
components/my-component/index.marko
class{demonstrate(){this.getComponent('one').forceUpdate()this.getComponents('two').forEach(f=>f.forceUpdate())}}<divclass="the-form"><c-1key="one">Text One</c-1><c-1key="two[]">TextTwo</c-1>
<c-1key="two[]">Text Two (again)</c-1><buttonon-click('demonstrate')>ForceUpdate</button></div>
Bug confirmed. <include(input.renderBody)/> is the correct workaround, but we will include a fix in the next patch release (lower priority since there is a straightforward workaround). Thanks, again, for the bug report.
Bug Report
When using
<include(input) />
, that content is being lost during a particular redraw (it sometimes comes back after another redraw).Context
components/my-component/index.marko
components/c-1/index.marko
Load a page that includes
<my-component />
. Here are different ways to reproduce:Force Update
button. All the h2 tags disappear.Expected Behavior
The h2 tags should stay in place.
Additional Info
Your Environment
The text was updated successfully, but these errors were encountered: