Skip to content

Function nodes mess up order #1

@fennifith

Description

@fennifith

Got this to occur in a random situation a while ago:

div(
    p("Hello"),
    () => button("Sign In").className("button")
).attr("style", "text-align: center;");

Renders as:

<div style="text-align: center;">
  <button class="button">Sign In</button>
  <p>Hello</p>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions