Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeExpression: output property not rendered when initially empty #287

Open
nokome opened this issue Jan 26, 2022 · 0 comments
Open

CodeExpression: output property not rendered when initially empty #287

nokome opened this issue Jan 26, 2022 · 0 comments
Assignees

Comments

@nokome
Copy link
Member

nokome commented Jan 26, 2022

This illustrates the problem - the two code expressions, which initially have no output, have successfully executed but their output is not rendered:

image

This is despite the fact that the output slot has been updated,

<span class="hidden slot sc-stencila-code-expression-default sc-stencila-code-expression-default-s">
  <output data-itemprop="output" slot="output">
      <span itemtype="http://schema.stenci.la/Number" itemscope="">3</span>
  </output>
</span>

When reloading the page the output is rendered properly,

image

Bug occurs on both Firefox and Chromium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants