Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

layout/overflow issue in suggestion-list #194

Closed

Description

@braver

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:

  1. set overflow back to auto
  2. or if the list should grow, remove the max-height by setting max-height: none on the list-group

screen shot 2015-01-15 at 09 23 15

Activity

  1. changed the title [-]layout/overflow issues in suggestion-list[/-] [+]layout/overflow issue in suggestion-list[/+] on Jan 15, 2015
  2. joefitzgerald commented on Jan 19, 2015

    @joefitzgerald
    Contributor

    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?

  3. added this to the 2.0 milestone on Jan 19, 2015
  4. braver commented on Jan 19, 2015

    @braver
    ContributorAuthor

    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.

  5. added a commit that references this issue on Jan 26, 2015
    d4abe8d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions