From 900a29fbb3c53a98785d1b57de5598f6caa8198b Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Fri, 6 Nov 2020 22:16:14 +0100 Subject: [PATCH] Tag-picker: focus tag-input after clicking a tag from the dropdown (#4986) * Tag-picker: focus tag-input after clicking a tag from the dropdown * Update tag-picker.tid --- core/wiki/macros/tag-picker.tid | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/wiki/macros/tag-picker.tid b/core/wiki/macros/tag-picker.tid index f72006541..43bcf96d7 100644 --- a/core/wiki/macros/tag-picker.tid +++ b/core/wiki/macros/tag-picker.tid @@ -23,6 +23,9 @@ $actions$ \define tag-button(actions,selectedClass) <$button class="tc-btn-invisible $selectedClass$" tag="a" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}> <$action-sendmessage $message="tm-add-tag" $param=<>/> +<$set name="currentTiddlerCSSEscaped" value={{{ [escapecss[]] }}}> +<$action-sendmessage $message="tm-focus-selector" $param=<> preventScroll="true"/> + <> $actions$ <$macrocall $name="tag-pill" tag=<>/>