-
-
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
Don't always align to left:0 #1127
Comments
You can set |
I just saw this pull request, I'm guessing that is similar to the code needed for this issue? |
Closed
avantika-gupta-jtg
pushed a commit
to JoshLabs/bootstrap-select
that referenced
this issue
May 14, 2020
If dropdownAlignRight is set to 'auto', the menu will auto align to the right if there's not enough room to open aligned to the left. close snapappointments#1127, close snapappointments#1016, close snapappointments#1160, close snapappointments#1269
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not very sure how to word this, but if you'll look at this you can see that the long options cause a horizontal overflow due to the css value left:0 always active.
This is in contrast to the native select behavior where the dropdown simply aligns to the right.
I feel it would be better to implement this behavior, or at least give the user a choice. It would be a very simple fix.
Thanks!
The text was updated successfully, but these errors were encountered: