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

feat(select): update select component to include radix primitives for scrolling on large datasets. #1715

Merged
merged 14 commits into from
Nov 12, 2023

Conversation

iaingymware
Copy link
Contributor

@iaingymware iaingymware commented Oct 10, 2023

I have added an up and down chevron to the select content area for when too many select items exist to display within the viewport. This is taking the radix ScrollUpButton and ScollDownButtons from https://www.radix-ui.com/primitives/docs/components/select

image

image

As can be seen, the chevrons will only appear when a large number of SelectItems exist.

I noticed updating the registry added like 80 files to the PR so I removed it (the 3rd and 4th commit). I am therefore just updating two files, the default and newyork select components.

If the registry update is required, happy to receive direction on how best to do this.

Thanks

@vercel
Copy link

vercel bot commented Oct 10, 2023

@iaingymware is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@iaingymware
Copy link
Contributor Author

Merged latest main into PR branch as was outdated.

@shadcn shadcn added enhancement New feature or request component: select labels Oct 16, 2023
@iaingymware
Copy link
Contributor Author

@shadcn awaiting review.

@iaingymware iaingymware requested a review from shadcn October 16, 2023 10:22
@shadcn shadcn added the area: roadmap This looks great. We'll add it to the roadmap, review and merge. label Oct 18, 2023
@iaingymware
Copy link
Contributor Author

Updated branch as outdated.

@vercel
Copy link

vercel bot commented Oct 24, 2023

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

Name Status Preview Comments Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2023 9:51am

@shadcn shadcn merged commit 7527ff4 into shadcn-ui:main Nov 12, 2023
4 of 5 checks passed
@iaingymware
Copy link
Contributor Author

Is this PR now complete? I don't see that it has been reviewed yet. Is there any action pending on me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: roadmap This looks great. We'll add it to the roadmap, review and merge. component: select enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants