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

Combobox inteligent width adjustments #7245

Closed
kyjak opened this issue Nov 9, 2020 · 1 comment
Closed

Combobox inteligent width adjustments #7245

kyjak opened this issue Nov 9, 2020 · 1 comment

Comments

@kyjak
Copy link

kyjak commented Nov 9, 2020

The design in IBMDOCS required setting an auto/intelligent width for a combobox.
In the storybook for this component, and how this behaves so far we tried, is the combobox expects either
a container with a fixed size, or setting a fixed size to the combobox.
What was expected from our designer is:

for this to work we had to employ a resize event and calculate the combobox width manually and set it in style.
browsers expected FF,Chrome,Edge

@joshblack
Copy link
Contributor

Hi there, @kyjak! 👋 I think what you observed is spot-on, the component currently will expand to fit the full width. I think the situation you described is how we would expect folks to modify this component given that it spans full width, but I'm curious what kind of enhancements you think we could add to make this experience better on your end 👀

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

No branches or pull requests

3 participants