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() {