You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Fix status bar expanded on tab-complete
This had regressed when `_getSize` was introduced. It didn't consider tab completing.
This commit is contained in:
@ -150,7 +150,9 @@ module.exports = React.createClass({
|
|||||||
(state.usersTyping.length > 0) ||
|
(state.usersTyping.length > 0) ||
|
||||||
props.numUnreadMessages ||
|
props.numUnreadMessages ||
|
||||||
!props.atEndOfLiveTimeline ||
|
!props.atEndOfLiveTimeline ||
|
||||||
props.hasActiveCall) {
|
props.hasActiveCall ||
|
||||||
|
props.tabComplete.isTabCompleting()
|
||||||
|
) {
|
||||||
return STATUS_BAR_EXPANDED;
|
return STATUS_BAR_EXPANDED;
|
||||||
} else if (props.tabCompleteEntries) {
|
} else if (props.tabCompleteEntries) {
|
||||||
return STATUS_BAR_HIDDEN;
|
return STATUS_BAR_HIDDEN;
|
||||||
|
Reference in New Issue
Block a user