1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

Merge pull request #1884 from matrix-org/luke/fix-glitchy-widget-spinner

Fix issue incorrect positioning with widget loading indicator
This commit is contained in:
Luke Barnard
2018-05-09 16:52:11 +01:00
committed by GitHub

View File

@@ -539,7 +539,11 @@ export default class AppTile extends React.Component {
</div>
);
if (this.state.initialising) {
appTileBody = loadingElement;
appTileBody = (
<div className={'mx_AppTileBody ' + (this.state.loading ? 'mx_AppLoading' : '')}>
{ loadingElement }
</div>
);
} else if (this.state.hasPermissionToLoad == true) {
if (this.isMixedContent()) {
appTileBody = (