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): work with auto width #706

Merged
merged 4 commits into from
Sep 27, 2023
Merged

feat(select): work with auto width #706

merged 4 commits into from
Sep 27, 2023

Conversation

muratcorlu
Copy link
Contributor

This PR adds the capability to our select working with auto sizing. If you set width: auto; to select component, it's width becomes fluid respected to its current label, placeholder, or selected value.

Closes #693

@muratcorlu muratcorlu requested review from buseselvi, a team, Enes5519 and DamlaDemir and removed request for a team September 15, 2023 08:24
@muratcorlu muratcorlu merged commit e133db4 into next Sep 27, 2023
5 checks passed
@muratcorlu muratcorlu deleted the select-auto-width branch September 27, 2023 07:12
@github-actions
Copy link

🎉 This PR is included in version 2.3.0-beta.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AykutSarac
Copy link
Member

I noticed there seem to be some overflow problem with the sizing. Do you think it should have the size of max width of the select option or the select itself?

image

@muratcorlu
Copy link
Contributor Author

If options are wider than select, popover should be bigger, I think that was our decision and we applied this in dropdown. Maybe we need a fix for select as well. Do you agree @buseselvi ?

@buseselvi
Copy link
Contributor

Yes, it would be nice to give the popover the ability to be wider than the input, like in the dropdown button. I think we will also need this when developing the date picker component in the future.

@AykutSarac AykutSarac mentioned this pull request Oct 12, 2023
@github-actions
Copy link

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select auto-width
3 participants