Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4ab4795

Browse files
committed
temporarily stop hiding the statusbar
as per element-hq/element-web#1991 (comment)
1 parent e9a53a8 commit 4ab4795

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/structures/RoomStatusBar.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ module.exports = React.createClass({
7474
// callback for when the status bar can be hidden from view, as it is
7575
// not displaying anything
7676
onHidden: React.PropTypes.func,
77+
7778
// callback for when the status bar is displaying something and should
7879
// be visible
7980
onVisible: React.PropTypes.func,
@@ -113,7 +114,9 @@ module.exports = React.createClass({
113114
clearTimeout(this.hideDebouncer);
114115
}
115116
this.hideDebouncer = setTimeout(() => {
116-
this.props.onHidden();
117+
// temporarily stop hiding the statusbar as per
118+
// https://github.com/vector-im/riot-web/issues/1991#issuecomment-276953915
119+
// this.props.onHidden();
117120
}, HIDE_DEBOUNCE_MS);
118121
}
119122
},

0 commit comments

Comments
 (0)