Merge pull request #1885 from matrix-org/luke/feature-app-tile-spinner-delay2
Improve appearance of short-lived app loading spinnerpull/21833/head
						commit
						d304e0a0e7
					
				| 
						 | 
				
			
			@ -266,6 +266,19 @@ form.mx_Custom_Widget_Form div {
 | 
			
		|||
    right: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.mx_AppLoading_spinner_fadeIn {
 | 
			
		||||
    animation-fill-mode: backwards;
 | 
			
		||||
    animation-duration: 200ms;
 | 
			
		||||
    animation-delay: 500ms;
 | 
			
		||||
    animation-name: mx_AppLoading_spinner_fadeIn_animation;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@keyframes mx_AppLoading_spinner_fadeIn_animation {
 | 
			
		||||
    from { opacity: 0 }
 | 
			
		||||
    to { opacity: 1 }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.mx_AppLoading iframe {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -534,7 +534,7 @@ export default class AppTile extends React.Component {
 | 
			
		|||
 | 
			
		||||
        if (this.props.show) {
 | 
			
		||||
            const loadingElement = (
 | 
			
		||||
                <div>
 | 
			
		||||
                <div className="mx_AppLoading_spinner_fadeIn">
 | 
			
		||||
                    <MessageSpinner msg='Loading...' />
 | 
			
		||||
                </div>
 | 
			
		||||
            );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue