You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Commit 3985780 puts overflow: visible on the list-group. This makes the items overflow out of the box that is max 200px high. The commit seems to solve a problem, but it's a bit messy and causes a problem in isotope-ui where the suggestion box is not expanding.
I see two possible solutions:
set overflow back to auto
or if the list should grow, remove the max-height by setting max-height: none on the list-group
This makes sense, and should be fixed. I think I made this change because the list was not expanding to display suggestions up to max-suggestions (assuming there is enough room to display them) and was instead requiring a scroll to show them. I think my preference would be for # 2 above - any reason why # 1 would be preferable?
No, option 1 doesn't make much sense if you're already limiting the number of items in the list programmatically. The 200px max-height seems quite arbitrary.
In fact, I think I'm going to put in a pull request to make .select-list.popover-list ol.list-group use 'max-height: 50vh' or some other viewport-related value. I think it makes sense and would also mean you wouldn't have to change anything from the default popover-list.
Activity
[-]layout/overflow issues in suggestion-list[/-][+]layout/overflow issue in suggestion-list[/+]joefitzgerald commentedon Jan 19, 2015
This makes sense, and should be fixed. I think I made this change because the list was not expanding to display suggestions up to max-suggestions (assuming there is enough room to display them) and was instead requiring a scroll to show them. I think my preference would be for # 2 above - any reason why # 1 would be preferable?
braver commentedon Jan 19, 2015
No, option 1 doesn't make much sense if you're already limiting the number of items in the list programmatically. The 200px max-height seems quite arbitrary.
In fact, I think I'm going to put in a pull request to make
.select-list.popover-list ol.list-groupuse 'max-height: 50vh' or some other viewport-related value. I think it makes sense and would also mean you wouldn't have to change anything from the default popover-list.Use The Viewport To Size The Suggestion List