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.
This commit is contained in:
parent
a7273bbf42
commit
fd1186cc2d
1 changed files with 0 additions and 7 deletions
|
|
@ -1287,13 +1287,6 @@ export class App extends Protocol<AppRequest, AppNotification, AppResult> {
|
|||
scheduled = true;
|
||||
requestAnimationFrame(() => {
|
||||
scheduled = false;
|
||||
|
||||
// Hosts determine the container size in fullscreen, so size-changed
|
||||
// notifications are not needed.
|
||||
if (this._hostContext?.displayMode === "fullscreen") {
|
||||
return;
|
||||
}
|
||||
|
||||
const html = document.documentElement;
|
||||
|
||||
// Measure actual content height by temporarily overriding html sizing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue