If you create a select and an input next to each other, you will see that the select is bigger than the input... they should have the same height!
yes this is from long time ... if you use custom-select class it's ok ..
oups i didnt see your example ... so it's input group and not input ?.. isn't it
@jipexu if you think I made a mistake, please provide a working example by modifying my fiddle...
you right i have 35 and 38 px ... so it's come with alpha 04
@natcohen Using .custom-select
and .form-control
on the same element, like in your example, is invalid.
source of bug : _forms.scss line 59
select.form-control {
&:not([size]):not([multiple]) {
height: $input-height; //<-- 2.5 rem
}
// ...
A solution that works on IE/Firefox/Chrome
select.form-control {
&:not([size]):not([multiple]) {
//simulate line-height: 1.25 for selects
box-sizing: content-box;
height: 1.25rem;
}
// ...
@cvrebert Try without the .custome-select
and you'll get the same problem...
Hi @natcohen!
You appear to have posted a live example (https://fiddle.jshell.net/shjmpvje/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(_Please note that this is a fully automated comment._)
@cvrebert && @natcohen :
<form class="form-inline">
<div class="form-group">
<select id="select" class="form-control">
<option>test</option>
</select>
</div>
<div class="form-group">
<input type="text" class="form-control" id="input" placeholder="Input">
</div>
</form>
Dupe of #20874, since fixed in v4-dev
.
This issue still exists with latest version. The same happens with input type file.
Most helpful comment
This issue still exists with latest version. The same happens with input type file.