zulip/static/third
N-Shar-ma ecf557eab9 typeahead: Update / hide typeahead menu on clicking outside.
When a user clicks outside the typeahead menu, inside the typing area,
the cursor position potentially changes, so `lookup` is called, which
considers the new cursor position and accordingly hides, continues
showing, or updates the typeahead menu.

This fixes the bug where even after clicking elsewhere, the old
typeahead menu continued showing and on making a selection, the text
was inserted at the wrong (new) position.

Fixes: #21302.
2022-03-18 14:59:28 -07:00
..
bootstrap lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
bootstrap-tooltip tooltip: Fix arrow position. 2020-09-04 10:36:02 -07:00
bootstrap-typeahead typeahead: Update / hide typeahead menu on clicking outside. 2022-03-18 14:59:28 -07:00
jquery-idle
marked minor: Simplify `usermention` regex and properly use capturing groups. 2021-05-20 11:35:04 -07:00