solid-refresh icon indicating copy to clipboard operation
solid-refresh copied to clipboard

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

Open mishimalisa opened this issue 1 year ago • 0 comments

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

mishimalisa avatar Feb 18 '23 20:02 mishimalisa