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

Floating labels select option text not fully visible #34147

Closed
AlexHolly opened this issue May 30, 2021 · 2 comments · May be fixed by #39483
Closed

Floating labels select option text not fully visible #34147

AlexHolly opened this issue May 30, 2021 · 2 comments · May be fixed by #39483

Comments

@AlexHolly
Copy link

Windows 10
Google Chrome Version 91.0.4472.77 (Offizieller Build) (64-Bit)

Some characters will be cut off.

Example "jgy":

<div class="form-floating">
  <select class="form-select" id="floatingSelect" aria-label="Floating label select example">
    <option selected="">jgy</option>
    <option value="1">One</option>
  </select>
  <label for="floatingSelect">Works with selects</label>
</div>

https://getbootstrap.com/docs/5.0/forms/floating-labels/#selects

@alecpl
Copy link
Contributor

alecpl commented May 31, 2021

Duplicate of #32672.

@theodorejb
Copy link

This issue still exists in Bootstrap 5.3. Specifically, letters with descenders like j, g, and y are cut off in select dropdowns. It can be seen right on the Bootstrap docs page for floating labels by editing one of the options to include any of these letters:
BS 5 3 bug light

The problem gets even worse when using the form-select-lg class.

theodorejb added a commit to theodorejb/bootstrap that referenced this issue Dec 11, 2023
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Dec 11, 2023
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Jan 30, 2024
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Mar 18, 2024
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Jun 14, 2024
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Jul 18, 2024
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Aug 14, 2024
theodorejb added a commit to theodorejb/bootstrap that referenced this issue Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants