Skip to content

Commit cf7c0cf

Browse files
committed
try prepending iframe child
1 parent 9ebc383 commit cf7c0cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/supervisor/frontend/src/shared/loading-frame.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ export function load(): Promise<{
1414
return new Promise((resolve) => {
1515
const frame = document.createElement("iframe");
1616
frame.src = startUrl.toString();
17+
console.debug("Showing iframe because ")
1718
frame.style.visibility = "visible";
1819
frame.className = "gitpod-frame loading";
19-
document.body.appendChild(frame);
20+
document.body.prepend(frame);
2021

2122
frame.onload = () => {
2223
const frontendDashboardServiceClient = new FrontendDashboardServiceClient(frame.contentWindow!);

0 commit comments

Comments
 (0)