Bootstrap: Select adds height to card body in Chrome

Created on 5 Dec 2017  路  6Comments  路  Source: twbs/bootstrap

When hovering over a select that is placed in a card's card-header then the height of the corresponding card-body increases. The problem only occurs in my Chrome browser in version 62.0.3202.94. The problem does not occur in Firefox 58.0b8 (64-Bit). I'm running Windows 10 and I'm using bootstrap v4 beta2 as you can see in the attached codepen.
slider

I've added an example to codepen:
https://codepen.io/seveves/pen/XzQXYP?editors=1000

browser bug v4

Most helpful comment

we can at least add it to our wall of browser bugs

All 6 comments

Hi @seveves this is a super strange bug, it seems to be in Chrome to me.

It's trigger by the h-100 class on card. It'd be great to reduce this codepen down to exactly what's needed to show the bug and report it to Chrome. what do you think?

also consider using d-flex justify-content-between on the header instead of the ml-auto, removing d-flex from row since row is already flexed and a general clean up of utility classes.

@andresgalante https://codepen.io/seveves/pen/MORjNB
I also sent a bug report via Chrome.
A workaround could be to remove the text-decoration: none; from the select on :hover

馃憤 thanks a lot!

imho we can close this issue because it is not related to bootstrap

For your information:
https://bugs.chromium.org/p/chromium/issues/detail?id=792344

we can at least add it to our wall of browser bugs

Closing this out since it's an old issue, not a Bootstrap bug, and the .custom-select has been heavily redone in v5 so that it shouldn't impact things here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

steve-32a picture steve-32a  路  3Comments

knownasilya picture knownasilya  路  3Comments

iklementiev picture iklementiev  路  3Comments

athimannil picture athimannil  路  3Comments