Skip to content

Convention for max visible results? #3

@archonic

Description

@archonic

First issue 🎉 ! Hopefully the issues feature wasn't turned on by mistake.

I've implemented this and it's working very well, but I'm wondering if there could be a convention for limiting the number of visible results. If you have 100 items you're filtering on, displaying all those items makes for poor usability.

You could limit visible items with something like this SCSS:

.select-menu-list {
  .select-menu-item { display: none; }
  .select-menu-item:nth-child(-n+6) { display: block; }
}

However, this doesn't mesh with the hidden attribute that filter-input-element.js toggles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions