Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(select): add missing className to select div #2070

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

Sophmrs
Copy link
Contributor

@Sophmrs Sophmrs commented Jan 30, 2025

Summary

The Select component accepts a className prop and even destructures it internally, however it never applies it to any element.
This adds className to the data-sl-select div.

Examples

Select ignores className:
https://codesandbox.io/p/sandbox/eloquent-chatelet-kkvrpg

@Sophmrs Sophmrs requested a review from a team as a code owner January 30, 2025 17:47
Copy link

vercel bot commented Jan 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
shoreline-docs ⬜️ Ignored (Inspect) Jan 30, 2025 5:47pm

@Sophmrs Sophmrs merged commit e9e4c59 into main Jan 30, 2025
7 checks passed
@Sophmrs Sophmrs deleted the fix/apply-select-classname branch January 30, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants