Skip to content

[Select] Fix ScrollUpButton bug, add empty state, and consider Base UI migration #633

@ravisuhag

Description

@ravisuhag

Summary

Select wraps Radix UI with Ariakit for autocomplete support. Has a bug in scroll button assignment, accessibility role conflicts, and hardcoded magic numbers.

Improvements

1. Fix ScrollUpButton bug

ScrollUpButton is incorrectly assigned to SelectPrimitive.ScrollDownButton (line 12). Should be SelectPrimitive.ScrollUpButton.

6. Add empty state customization

No props for custom "no options" message. Currently relies on implicit CSS selector-based detection.

8. Consider Base UI migration

Component uses Radix UI while the project is migrating to Base UI (ColorPicker, Dialog, Sheet already migrated).

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/select/

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