Skip to content

[WinUI3] Support continuous mouse event from web content to the native window #1321

@d2phap

Description

@d2phap

Is your feature request related to a problem? Please describe.
I create a small webapp that allows dragging to arrange the shapes (https://d2phap.github.io/shape-arrangement/), and I want to bring this to Webview2. However, the mouse event is not captured when I move the cursor out of the Webview2
Steps:

  • Click and hold on a shape
  • Still hold and drag the shape
  • Move cursor out of the window (or the Webview2)
  • The shape is not followed the cursor anymore

image

Describe the solution you'd like and alternatives you've considered

  • There should be an API / option to allow the cursor continue to capture out of the webview2
  • This will remove the gap of native app and webview2 app

AB#33613498

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestfeature requesttrackedWe are tracking this work internally.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions