Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #32660
Closed
Open
Issue created Jan 03, 2021 by Administrator@rootContributor

floating label not looking good when multiple select enabled with size

Created by: vnekatesharao

<div class="form-floating" width="50%">
  <select class="form-control" id="floatingSelect" aria-label="Floating label select example" multiple="false" size="5">
    <option selected>Open this select menu</option>
    <option value="1">One</option>
    <option value="2">Two</option>
    <option value="3">Three</option>
   <option value="4">four</option>
   <option value="5">five</option>
   <option value="6">six</option>
   <option value="7">seven</option>
  </select>
  <label for="floatingSelect">Works with selects</label>
</div>

i am using floating label for selecting multiple items with the above snippet. the problem is that the options texts are overriding the label text which doesn't look good when scrolling.

Bug reports must include:

  • Operating system and version : Windows
  • Browser and version : Chrome Version 87.0.4280.88
  • https://codepen.io/venkatdot/pen/qBaoPQo

as you can see the floating label with multiple select options, the option contents are overriding label

Assignee
Assign to
Time tracking