-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Height on narrow selects is too tall #85
Labels
bug
Something isn't working
Comments
Here's a CSS only workaround as well .input-hidden > .ts-input > input{
display:none !important;
} |
Thanks! I'll have an updated release out shortly |
Nice one, thanks a lot! |
This one can hide it just if it has value: .ts-input.has-items > input {
display: none !important;
} |
Yeah, that was a bad suggestion on my part |
Workaround for V2: .ts-wrapper.has-items > .ts-control > input {
display: none !important;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Inner input is visible for narrow selects, even with a default value.
To Reproduce
Steps to reproduce the behavior:
select
with a width a bit bigger than the contentsHere is a JSFiddle showing the issue:
https://jsfiddle.net/3yjzwhaq/
Expected behavior
Input should be hidden if a value is set.
It looks like when manually selecting a value the input is given the following styles:
Additional context
Add any other context about the problem here.
Tested with same result on Chromium 90.0.4430.212
Manually setting the style is a good workaround:
The text was updated successfully, but these errors were encountered: