{headerButtons}
diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js
index cd9ac565ab..323af86c5f 100644
--- a/src/components/structures/RoomDirectory.js
+++ b/src/components/structures/RoomDirectory.js
@@ -89,17 +89,17 @@ module.exports = React.createClass({
});
// dis.dispatch({
- // action: 'ui_opacity',
- // sideOpacity: 0.3,
- // middleOpacity: 0.3,
+ // action: 'panel_disable',
+ // sideDisabled: true,
+ // middleDisabled: true,
// });
},
componentWillUnmount: function() {
// dis.dispatch({
- // action: 'ui_opacity',
- // sideOpacity: 1.0,
- // middleOpacity: 1.0,
+ // action: 'panel_disable',
+ // sideDisabled: false,
+ // middleDisabled: false,
// });
if (this.filterTimeout) {
clearTimeout(this.filterTimeout);
diff --git a/src/skins/vector/css/_common.scss b/src/skins/vector/css/_common.scss
index bf742cd0c5..a9b8092848 100644
--- a/src/skins/vector/css/_common.scss
+++ b/src/skins/vector/css/_common.scss
@@ -87,6 +87,11 @@ textarea {
transition: opacity 0.2s ease-in-out;
}
+.mx_fadable.mx_fadable_faded {
+ opacity: 0.3;
+ pointer-events: none;
+}
+
/* XXX: critical hack to GeminiScrollbar to allow them to work in FF 42 and Chrome 48.
Stop the scrollbar view from pushing out the container's overall sizing, which causes
flexbox to adapt to the new size and cause the view to keep growing.