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

Shrinking issue with Select and flex-basis #1895

Open
Arucard89 opened this issue Oct 10, 2024 · 0 comments
Open

Shrinking issue with Select and flex-basis #1895

Arucard89 opened this issue Oct 10, 2024 · 0 comments

Comments

@Arucard89
Copy link
Contributor

After making improvements to the way content is displayed in the Select component(in that PR), we discovered unpredictable behaviour related to the use of the parent container's flex-basis property.

<div style={{display: 'flex'}}>
    <div style={{flexBasis: '0'}}>
        <Select
            {...selectProps}
            label="some label"
            placeholder="some placeholder"
        >
            {children}
        </Select>
    </div>
</div>

image

Therefore, it was decided to move these changes to the major version of the library due to their breaking behaviour in some current use-cases.

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

No branches or pull requests

1 participant