zulip/web
Lakshay Mittal 0b10a33565 search: Fix display of suggestion box when search bar empty.
When search bar is empty and we've reached that state
by using the `backspace` key. There are no suggestions
as there are when you select an empty search bar.

The cause of this was an explicit prevention of this
suggestion box in `typeahead.js` so that the
`backspace` key is free to interact with the other
elements.

The fix here is to add an optional `hideOnEmpty` option
so that if we want this suggestion box to appear we can
set this option to `false` and this behavior will be
prevented.

This option is enabled for the search input when pills are not
enabled.

Fixes: #25062.
2023-04-24 21:45:06 -07:00
..
e2e-tests compose: Change stream field in composebox to be a dropdown. 2023-04-20 16:09:55 -07:00
generated
html
images navbar: Add Ionic search icon and use for navbar search. 2023-03-24 16:30:15 -07:00
shared icons: Change bot icon from GitHub logo to Google material icon. 2023-04-13 10:47:09 -07:00
src search: Fix display of suggestion box when search bar empty. 2023-04-24 21:45:06 -07:00
styles css: Use less saturated colors for PMs. 2023-04-24 17:29:06 -07:00
templates streams: Make stream settings and create stream UI more consistent. 2023-04-24 17:02:33 -07:00
tests node tests: Fix drafts tests for new colors. 2023-04-24 18:16:04 -07:00
third search: Fix display of suggestion box when search bar empty. 2023-04-24 21:45:06 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-03-20 15:48:29 -07:00
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
webpack.config.ts eslint: Fix @typescript-eslint/prefer-nullish-coalescing. 2023-04-19 16:52:39 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00