Skip to content

Getting screen coordinates from element in iFrame #5244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aimcosoftware opened this issue May 17, 2025 · 0 comments
Open

Getting screen coordinates from element in iFrame #5244

aimcosoftware opened this issue May 17, 2025 · 0 comments

Comments

@aimcosoftware
Copy link

aimcosoftware commented May 17, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant