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

Some text/letters are clipped when using .custom-select #20810

Closed
niteraven78 opened this issue Sep 29, 2016 · 3 comments
Closed

Some text/letters are clipped when using .custom-select #20810

niteraven78 opened this issue Sep 29, 2016 · 3 comments

Comments

@niteraven78
Copy link

See the screenshot below- particularly the lowercase g. It seems to be caused by -webkit-appearance: none;

custom-select

Windows 10/Chrome latest version

@sa7bi
Copy link

sa7bi commented Sep 29, 2016

same here :(
To solve it, I had to add a custom height

@dumb
Copy link
Contributor

dumb commented Oct 4, 2016

Can confirm this also happens in the latest OSX Chrome (v53.0.2785.143), but not in the latest Safari or Firefox.

Throwing .custom-select { height: 2.5rem; } into the stylesheet works as a band-aid for the normal size (thanks sa7bi), but form-control-sm is still cut off & might need some padding adjustment.

@mdo mdo added this to the v4.0.0-alpha.5 milestone Oct 10, 2016
mdo added a commit that referenced this issue Oct 10, 2016
Matches the changes from #20874 to the regular select element. This is really only necessary for IE and Edge near as I can tell. Fixes #20810.
@gregpettit
Copy link

gregpettit commented Dec 1, 2017

I still see this in Beta 2. Possible regression? When I see it, the clipping also occurs in a normal-sized text field (form-control with type text). Per the original discussion thread, setting custom heights fixes the issue, whether smaller (line-height: 1) or larger (line-height: 1.3). For whatever reason it's 1.25 that seems to cause the scenario along with Segoe UI (the default for Windows, I believe?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants