From d696196d721eb48298b2aa256808c2f94edf1b73 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 27 Mar 2017 12:39:51 +0100 Subject: [PATCH] fix https://github.com/vector-im/riot-web/issues/3348 --- src/components/structures/SearchBox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/structures/SearchBox.js b/src/components/structures/SearchBox.js index 12bfc6dd6f..729e7ef772 100644 --- a/src/components/structures/SearchBox.js +++ b/src/components/structures/SearchBox.js @@ -45,6 +45,9 @@ module.exports = React.createClass({ }, onAction: function(payload) { + // Disabling this as I find it really really annoying, and was used to the + // previous behaviour - see https://github.com/vector-im/riot-web/issues/3348 +/* switch (payload.action) { // Clear up the text field when a room is selected. case 'view_room': @@ -53,6 +56,7 @@ module.exports = React.createClass({ } break; } +*/ }, onChange: function() {