diff --git a/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js b/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js index f3bd4367c3..bf572e0eaa 100644 --- a/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js +++ b/app/assets/javascripts/discourse/app/lib/keyboard-shortcuts.js @@ -682,6 +682,10 @@ export default { if ($article.length > 0) { $articles.removeClass("selected"); $article.addClass("selected"); + this.appEvents.trigger("keyboard:move-selection", { + articles: $articles.get(), + selectedArticle: $article.get(0), + }); const articleRect = $article[0].getBoundingClientRect(); if (!fast && direction < 0 && articleRect.height > window.innerHeight) {