File tree 2 files changed +4
-4
lines changed
components/supervisor/frontend/src
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const ideService = IDEFrontendService.create();
64
64
const loadingIDE = new Promise ( ( resolve ) => window . addEventListener ( "DOMContentLoaded" , resolve , { once : true } ) ) ;
65
65
const toStop = new DisposableCollection ( ) ;
66
66
67
- document . body . style . visibility = "hidden " ;
67
+ document . body . style . opacity = "0 " ;
68
68
LoadingFrame . load ( ) . then ( async ( loading ) => {
69
69
const frontendDashboardServiceClient = loading . frontendDashboardServiceClient ;
70
70
await frontendDashboardServiceClient . initialize ( ) ;
@@ -162,8 +162,8 @@ LoadingFrame.load().then(async (loading) => {
162
162
if ( current === newCurrent ) {
163
163
return ;
164
164
}
165
- current . style . visibility = "hidden " ;
166
- newCurrent . style . visibility = "visible " ;
165
+ current . style . opacity = "0 " ;
166
+ newCurrent . style . opacity = "1 " ;
167
167
if ( current === document . body ) {
168
168
while ( document . body . firstChild && document . body . firstChild !== newCurrent ) {
169
169
document . body . removeChild ( document . body . firstChild ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export function load(): Promise<{
14
14
return new Promise ( ( resolve ) => {
15
15
const frame = document . createElement ( "iframe" ) ;
16
16
frame . src = startUrl . toString ( ) ;
17
- frame . style . visibility = "visible " ;
17
+ frame . style . opacity = "1 " ;
18
18
frame . className = "gitpod-frame loading" ;
19
19
document . body . appendChild ( frame ) ;
20
20
You can’t perform that action at this time.
0 commit comments