Skip to content

[Problem/Bug]: Copy/paste functions not working with touchscreen #4861

Open
@jamesdavidson407

Description

@jamesdavidson407

What happened?

When I select text within a page displayed in the WebView2 control, the menu for selecting "Copy" appears but I'm unable to click on it. It just stays open until I click away. The text doesn't get copied to the clipboard as I'm not able to paste it inside or outside of the app. Selecting Ctrl+C using the touchscreen keyboard also fails to work. If I use an external keyboard or a mouse, it works fine.

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Prerelease (Edge Canary/Dev/Beta)

Runtime Version

129.0.2792.79

SDK Version

2839.0

Framework

WinUI2/UWP

Operating System

Windows 11

OS Version

22631.4317

Repro steps

  • Run the webview2_sample_uwp app from https://github.com/MicrosoftEdge/WebView2Samples on a Microsoft Surface touchscreen device with no external keyboard or mouse.
  • Select some text by long pressing on it.
  • The context menu with the clipboard options appear but I'm not able to click on them.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtrackedWe 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