search: Clicking on a search pill should not lose searchbox focus.

Whenever a search pill is selected or deleted by a click the navbar
gets rendered as the searchbox loses focus. This allows the user to
be able to continue editing the search query without having to refocus
the searchbox.
This commit is contained in:
Ryan Rehman
2020-06-18 20:47:11 +05:30
committed by Tim Abbott
parent 63643c9d9d
commit 70b92c7eb3
3 changed files with 27 additions and 3 deletions

View File

@@ -372,6 +372,7 @@ exports.create = function (opts) {
appendValue: funcs.appendPill.bind(funcs),
appendValidatedData: funcs.appendValidatedData.bind(funcs),
getByID: funcs.getByID,
items: funcs.items,
onPillCreate: function (callback) {