From f230b0a3c09f335054e2e1051371e1c429fd6470 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 22 Feb 2017 14:03:30 +0000 Subject: [PATCH] Fix status bar expanded on tab-complete This had regressed when `_getSize` was introduced. It didn't consider tab completing. --- src/components/structures/RoomStatusBar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/structures/RoomStatusBar.js b/src/components/structures/RoomStatusBar.js index 95631e304d..626c376d9f 100644 --- a/src/components/structures/RoomStatusBar.js +++ b/src/components/structures/RoomStatusBar.js @@ -150,7 +150,9 @@ module.exports = React.createClass({ (state.usersTyping.length > 0) || props.numUnreadMessages || !props.atEndOfLiveTimeline || - props.hasActiveCall) { + props.hasActiveCall || + props.tabComplete.isTabCompleting() + ) { return STATUS_BAR_EXPANDED; } else if (props.tabCompleteEntries) { return STATUS_BAR_HIDDEN;