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

Dropdown "selected value" breaking in two lines due to "input" #138

Closed
waterizzet opened this issue Nov 3, 2020 · 3 comments
Closed

Dropdown "selected value" breaking in two lines due to "input" #138

waterizzet opened this issue Nov 3, 2020 · 3 comments
Labels
bug Something isn't working Regression

Comments

@waterizzet
Copy link

Hello,

I recently update to the latest version of react-dropdown-select and the dropdown started to display a blank space under the selected value when:

  • the dropdown has a small width and/or the selected value is large enough
  • searchable is set to false

You can easily check this issue in the official demo page:
image

This issue seems to be caused by the following change, that removed the width from the input element for version 4.5.0:
6c07893#diff-355dd90b189a371d7897f486b96c49320ab551e204525189105994d501655cbe
image

Thank you! First time reporting an issue, let me know if you need more information

@sanusart
Copy link
Owner

sanusart commented Nov 3, 2020

Thanks, great first issue reporting BTW.

Regression by: #114

@smondal1234
Copy link

this is still happening on version 4.8.4

@sanusart
Copy link
Owner

this is still happening on version 4.8.4

Can you please provide example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Regression
Projects
None yet
Development

No branches or pull requests

3 participants