Skip to content

Getting screen coordinates from element in iFrame #5244

Open
@aimcosoftware

Description

@aimcosoftware

Is there any way to expose the relative or absolute coordinates of a CoreWebView2Frame in WebView2?

I need to position a .Net dialog over an element, which is fine in a top level frame, but not if the element is in a frame.

Not easy to use JS as the frames may not be from the same source, so won't easily be able get the location of the iFrame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions