+
Skip to content

Adding a WebContentsView to another WebContentsView using ⁠addChildView is not rendering correctly #47990

@k1nz

Description

@k1nz

Preflight Checklist

Electron Version

37.2.6

What operating system(s) are you using?

macOS

Operating System Version

macOS 13.7 (22H123)

What arch are you using?

x64

Last Known Working Electron version

34.5.8

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

The childView should always be on top of the view.

Image

Actual Behavior

It seems that the ⁠view is on top of the ⁠childView.

2025-08-07.4.25.27.mov

Testcase Gist URL

https://gist.github.com/0898fda2109777e4cca86b44eaf94d87

Additional Information

It works correctly in version 34.5.8 on macOS, but it appears in Electron versions higher than 33 on Windows systems.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载