FIX: stop propagating keyboard event when replying to topic/post (#6930)

FIX: stop propagating keyboard event when replying to topic/post (#6930)

diff --git a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6
index 6036045..cb0a1be 100644
--- a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6
+++ b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6
@@ -153,6 +153,8 @@ export default {
 
   replyToTopic() {
     this._replyToPost();
+
+    return false;
   },
 
   selectDown() {
@@ -332,6 +334,8 @@ export default {
         }
       }
     }
+
+    return false;
   },
 
   _bindToSelectedPost(action, binding) {

GitHub sha: d0129b85

1 Like