Skip to content

v0.7.17 — restore embedded Platform view bounds on Windows

Choose a tag to compare

@RichardDou0607 RichardDou0607 released this 20 Oct 11:30
· 7 commits to main since this release

Fixes the black embedded Usage/Top-up page on Windows: the Platform host's data-window-drag sits on the

itself, but the platform-host selector only matched a header descendant. Until the JS compatibility marker ran, the generic dialog frame kept the host at position:relative with a zero-height viewport, so PlatformOverlay measured and opened the native WebContentsView with a 0-height, off-window rect. Windows kept that view black; macOS repainted after the later setBounds. Now matches :has(> header[data-window-drag]) and marks only dialogs whose direct header carries the drag attribute.