1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc/js
epriestley 4f3a9a8aca Immediately cancel autocomplete if the user types certain characters anywhere
Summary:
Ref T10163. Some characters are almost certainly punctuation or markup rather than autocomplete requests. Immediately cancel any active autocomplete when the user types one of these.

Note that some of these are also suffix characters. If you type `@dog,`, you have until the next character to decide you actually mean to autocomplete. Once you type something else we deactivate.

If you type `#dog#` or `##`, we deactivate immediately.

Test Plan: Typed `@dog#`, etc.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10163

Differential Revision: https://secure.phabricator.com/D15036
2016-01-16 14:38:00 -08:00
..
application Allow profile menu items to be reordered 2016-01-13 11:45:57 -08:00
core Fix blur and sort behavior for autocomplete 2016-01-15 09:33:15 -08:00
phui Give Phriction a real dropdown 2015-05-19 12:14:44 -07:00
phuix Immediately cancel autocomplete if the user types certain characters anywhere 2016-01-16 14:38:00 -08:00