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

react-select does not have a max width when placed inside of a fieldset #5970

Open
mwbouwkamp-mendix opened this issue Oct 28, 2024 · 1 comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet

Comments

@mwbouwkamp-mendix
Copy link

As soon as I place the react-select component inside of a fieldset, and I start typing something that is too wide for the input, the input gets too wide. When I do this with a react-select component that is not inside of a fieldset, I have no issues at all.

I have played around with widths and max-widths on the different elements within the react-select, but that did not do the trick. The fact that it only happens inside the fieldset makes me think this is a bug.

Here is a test project: https://codesandbox.io/p/sandbox/react-select-fieldset-t7tvk3

@mwbouwkamp-mendix mwbouwkamp-mendix added the issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet label Oct 28, 2024
@Rataiczak24
Copy link

I am on the latest version (5.8.3) and am also running into the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet
Projects
None yet
Development

No branches or pull requests

2 participants