Make Tag Dropdown Retain Focus After Tag Picked; Client-Side API Questions

I think what you’re trying to achieve is not easy. When a tag is selected, the user is directed to a new page.

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/select-kit/components/tag-drop.js.es6#L142-#L150

So keeping the user on the same page and changing everything else just to keep the tag selector open seems like a lot of work.

What is the real problem you want to solve? There may be easier alternatives.

Most of the popular methods are covered in this section of the theme developer’s guide. You can also read about those and all the other ones in the repository here

3 Likes