mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
In our recent navbar changes, we made it so that the
Esc key auto-closed the navbar. Unfortunately,
that code would break other typeaheads with a traceback.
One user-facing symptom was that if you drafted a PM
and started a typeahead on a recipient, then hitting
the Esc key wouldn't close the typeahead.
Now we use an `on_escape` mechanism that is specific
to the navbar typeahead, so that it's both generic and
harder to break for widgets that don't opt in to it.
See
|
||
|---|---|---|
| .. | ||
| bootstrap | ||
| bootstrap-notify | ||
| bootstrap-typeahead | ||
| jquery-idle | ||
| marked | ||