Skip to content

[DropdownMenu] Forward Ariakit props and improve sub-menu keyboard navigation #614

@ravisuhag

Description

@ravisuhag

Summary

DropdownMenu wraps Ariakit Menu with good discriminated union types. Has a workaround for Radix Dialog focus lock and some cleanup opportunities.

Improvements

2. Forward additional Ariakit Menu props

Some useful Ariakit props are not forwarded:

  • flip for popover flipping behavior
  • shift for popover shifting
  • portal for portal rendering control

3. Improve sub-menu keyboard navigation

Ensure arrow key navigation between parent and sub-menus follows WAI-ARIA menu pattern completely.

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/dropdown-menu/

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