Skip to content

Conversation

@greatertomi
Copy link
Contributor

@greatertomi greatertomi commented Oct 17, 2025

Support full width on select component.

Screenshot 2025-10-17 at 11 25 30

@greatertomi greatertomi force-pushed the fix/select-full-width branch from 0ff9991 to 0e6c79f Compare October 17, 2025 10:29
@greatertomi greatertomi requested a review from Copilot October 17, 2025 10:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds full-width support to the Select component, allowing it to stretch to fill its parent container when the fullWidth prop is enabled.

Key Changes:

  • Added fullWidth and className props to the SelectRoot component
  • Implemented full-width styling for both the trigger and dropdown content
  • Added a story to demonstrate the full-width functionality

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/design-system/select/select-root.component.tsx Added fullWidth and className props with corresponding styling logic to support full-width mode
src/design-system/select/select.stories.tsx Added a FullWidth story component to demonstrate the new full-width feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@greatertomi greatertomi force-pushed the fix/select-full-width branch from 0e6c79f to 04d30e8 Compare October 17, 2025 10:47
@sonarqubecloud
Copy link

@greatertomi greatertomi merged commit 449294d into main Oct 17, 2025
3 checks passed
@greatertomi greatertomi deleted the fix/select-full-width branch October 17, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants