Merge pull request #722 from matrix-org/luke/fix-status-bar-tab-complete

Fix status bar expanded on tab-complete
This commit is contained in:
David Baker 2017-02-22 14:33:29 +00:00 committed by GitHub
commit e9318f5c02

View file

@ -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;