Skip to content

Bug: Portal inside fragments causes the sibling element render in the incorrect place #36

@kevintakeda

Description

@kevintakeda

Using fragment and Portal together leads to an incorrect rendering order.

Small reproduction: https://stackblitz.com/edit/solid-start-bare-ts-griwhk?file=src%2Fcomponents%2FComplex.tsx,src%2Froutes%2Findex.tsx

  1. Go to <Complex /> component inside the component folder.
  2. Refresh the page once
  3. Edit the text inside the <b>
  4. Hit save
  5. Check if <Complex /> renders in the correct place

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions