Investigate the use of React fragments in JS components

Created on 18 July 2025, 1 day ago

Overview

Over in 🐛 Component/slot overlay borders can be misaligned when nested Active it was noticed that a component that wraps multiple elements with a <> React fragment don't correctly get the overlay boarder around all the top level elements that make up the component.

const Slotto = ({
  title = "Has Slots",
  one, 
  two,
  three
}) => {
  return (
    <>
      {/* Text Prop */}
      <h3>{title} </h3>
      {/* Slot */}
      {one}
      {/* Slot */}
      {two}
      {/* Slot */}
      {three}
    </>
  );
};

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

User interface

Created by

🇬🇧United Kingdom jessebaker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024