In T306932, we add an optional prop to limit the number of items being shown by the Menu component before it starts to scroll. By default, the Menu shows all items, and that is probably fine for an internal component.
But as a user of the public Codex components, I would appreciate if they had sensible defaults set.
For comparison:
- Wikit Lookups show 6 items by default
- CodexTypeaheadSearch currently shows 10 Items (+ an interactive footer)
- Vuetify has a different approach and allows setting a max-height with :menu-props="{ maxHeight: '400' }"
- (not sure what other reference we use)
Acceptance Criteria:
- Design: decide what the default number of items to show should be for Lookup, Select, Combobox, or if they should continue to show all options (Specs)
- Implement the decision if it deviates from the current behavior