-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Word wrapping on data-subtext if the text is too long #1757
Comments
Same problem here in v1.13.1, when adding subtext that is really long, the dropdown menu becomes too wide and the text does not wrap when exceeding the selector's width. I've tried to set |
Fixed (but it's a hack):
|
if fix by this way, data-size not working |
Hey, sorry for opening an old issue @caseyjhol, can you assist me on how to use v1.13.18 with
Thanks in advance 😃 ConfigurationMost basic dropdown configuration $element.addClass('selectpicker').selectpicker({
container: 'body'
}); with the custom rule for the .bootstrap-select .dropdown-item {
white-space: normal;
} which affects the dropdown height <div class="dropdown-menu open">
<div class="inner open"> <!-- 145px height, because of min-height -->
<div class="dropdown-menu inner"> <!-- 76px height, exactly as necessary -->
<ul class="dropdown-menu inner">
<li class="selected active">
<a class="dropdown-item"> <!-- wrap long text with white-space -->
</li>
</ul>
</div>
</div>
</div> VersionsLowest stable is 1.13.12.
ReferencesI went through all options, there isn't any to "handle" the algorithm for the Height of |
upvoting for @Bogatinov request |
No description provided.
The text was updated successfully, but these errors were encountered: