mirror of https://github.com/zulip/zulip.git
9d1f9e8a75
This is a finicky change; we need to adapt around bootstrap internals to first steal focus from the list, and then if the user uses arrow keys, send that key to the list letting bootstrap focus on the list elements. The reverse: stealing abck focus to the input from the list, is not possible without changing third/bootstrap.js because it's concept of currently selected item depends on the item being focused. We retain the pre-commit behavior for this, where the user can SHIFT+TAB to get back to the input and type. Ideally, a user will now interact with this widget like this: 1. Click the button to open the widget. The input is in focus. 2. Type a query to filter the results. 3. Seemlessly start using arrow keys to select an option. 4. Press "enter" to select the option. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.eslintrc.json | ||
.gitignore | ||
favicon.ico |