diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index ce807ab026..d69784e0ca 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -681,6 +681,10 @@ export default React.createClass({ { _t('Add rooms to this community') } ) :
; + const roomDetailListClassName = classnames({ + "mx_fadable": true, + "mx_fadable_faded": this.state.editing, + }); return

@@ -691,7 +695,9 @@ export default React.createClass({

{ this.state.groupRoomsLoading ? : - + }
; }, diff --git a/src/components/views/rooms/RoomDetailList.js b/src/components/views/rooms/RoomDetailList.js index c44b662fa7..27972af484 100644 --- a/src/components/views/rooms/RoomDetailList.js +++ b/src/components/views/rooms/RoomDetailList.js @@ -23,6 +23,7 @@ import sanitizeHtml from 'sanitize-html'; import { ContentRepo } from 'matrix-js-sdk'; import MatrixClientPeg from '../../../MatrixClientPeg'; import PropTypes from 'prop-types'; +import classNames from 'classnames'; function getDisplayAliasForRoom(room) { return room.canonicalAlias || (room.aliases ? room.aliases[0] : ""); @@ -117,6 +118,8 @@ export default React.createClass({ worldReadable: PropTypes.bool, guestCanJoin: PropTypes.bool, })), + + className: PropTypes.string, }, getRows: function() { @@ -138,7 +141,7 @@ export default React.createClass({ ; } - return
+ return
{ rooms }
; },