Skip to content

Error with single submission with html and js that tries to manipulate the new elements #1798

@colombod

Description

@colombod

Describe the bug

A single submission that add html elements and then tries to manipulate them via js fails, if the submissions are in separate cells they work correctly.

This issue requires to wait for the html kernel to perform the relevant dom changes before moving to the next commands. A possible solution is to implement html as client side kernel like the javascript one

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
image

  • OS
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions