diff --git a/web/src/pill_typeahead.ts b/web/src/pill_typeahead.ts index 2d9e8b5dc7..0d37cdc471 100644 --- a/web/src/pill_typeahead.ts +++ b/web/src/pill_typeahead.ts @@ -87,7 +87,7 @@ export function set_up_stream( }; opts.help_on_empty_strings ||= false; new Typeahead(bootstrap_typeahead_input, { - items: 5, + items: 12, dropup: true, helpOnEmptyStrings: true, source(_query: string): StreamPillData[] { diff --git a/web/tests/pill_typeahead.test.js b/web/tests/pill_typeahead.test.js index 4eafd2795b..a83e1625d8 100644 --- a/web/tests/pill_typeahead.test.js +++ b/web/tests/pill_typeahead.test.js @@ -255,7 +255,7 @@ run_test("set_up_stream", ({mock_template, override, override_rewire}) => { override(bootstrap_typeahead, "Typeahead", (input_element, config) => { assert.equal(input_element.$element, $fake_input); - assert.equal(config.items, 5); + assert.equal(config.items, 12); assert.ok(config.dropup); assert.ok(config.stopAdvance);