Fix BrowserView not resizing on maximize, and Reels media controls staying hidden #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nupipun/instagram-linux:fix/maximize-and-reels-controls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
maximize/unmaximizefire before the compositor commits the new content size, so the synchronous re-layout read stale bounds. Fixed by deferring the re-layout slightly so it reads the settled window size. Verified with a standalone Electron BrowserView bounds test across repeated maximize/unmaximize cycles.isReelOrStoryflag to skip that drift-based hide check in Reels/Stories, leaving normal feed-video behavior (and the off-screen-hide check) untouched. Verified by extracting the literal patched function and exercising it against simulated continuous drift.Test plan
🤖 Generated with Claude Code
Mierdon