Skip to content

Project pointer coordinates into nested webviews - #523

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/nested-pointer-coordinate-projection-522
Sep 19, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/nested-pointer-coordinate-projection-522

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Native pointer events targeted into nested documents exposed top-level host coordinates, which displaced unchanged Code OSS webview context menus and pointer handoff. This projects clientX/clientY into the nearest iframe content viewport, derives child pageX/pageY from its scroll state, and preserves host-space screen coordinates and target-relative offsets.

Regression sources cover a two-level native right-click sequence and a browser/native primary-activation contract. git diff --check passed; builds, tests, benchmarks, and package validation were intentionally deferred under the current implementation-first policy.

Closes #522
Progresses #268

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

Successfully merging this pull request may close these issues.

Project host pointer coordinates into nested webview viewports

1 participant