Skip to content

Commit fd1186c

Browse files
Revert fullscreen size-changed skip (#570)
Reverts the fullscreen displayMode guard added in #567. Skipping size-changed measurement during fullscreen caused apps to not receive an initial size report after the transition, breaking layout for some apps.
1 parent a7273bb commit fd1186c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/app.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,13 +1287,6 @@ export class App extends Protocol<AppRequest, AppNotification, AppResult> {
12871287
scheduled = true;
12881288
requestAnimationFrame(() => {
12891289
scheduled = false;
1290-
1291-
// Hosts determine the container size in fullscreen, so size-changed
1292-
// notifications are not needed.
1293-
if (this._hostContext?.displayMode === "fullscreen") {
1294-
return;
1295-
}
1296-
12971290
const html = document.documentElement;
12981291

12991292
// Measure actual content height by temporarily overriding html sizing.

0 commit comments

Comments
 (0)