Currently facing an issue with how Bootstrap 4's form-control displays a selected item on a multiple select element when it overflows.
.row {
background: #f8f9fa;
margin-top: 20px;
}
.col {
border: solid 1px #6c757d;
padding: 10px;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
<div class="col-3">
<select multiple style="overflow-x: auto;" class="form-control">
<option>asdf asdf asdf asdf asdf asdf asdf asdf</option>
<option>123</option>
</select>
</div>
</div>
The issue arises when selecting the asdf...
option, where only a part of the text is highlighted in blue and becomes unreadable when scrolling to view the rest due to a white text on a white background.
For more details, refer to this jsfiddle link