Skip to content

[SidePanel] Support ref as prop and fix array index key #636

@ravisuhag

Description

@ravisuhag

Summary

SidePanel is a custom layout component for side-panel UI patterns. Missing ref prop support on all sub-components, incomplete type safety, and accessibility gaps.

Improvements

1. Accept ref as a prop on all sub-components

None of SidePanelRoot, SidePanelHeader, or SidePanelSection accept ref as a prop.

5. Fix array index key in actions map

actions?.map((action, index) => (<Fragment key={index}> breaks list reconciliation if actions reorder.

Moved to Cross-Cutting Issues

The following items have been moved to cross-cutting issues that address them across all components:

Files

  • packages/raystack/raystack/components/side-panel/

Metadata

Metadata

Assignees

No one assigned

    Labels

    componentIndividual component-level issuetriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions