-
Notifications
You must be signed in to change notification settings - Fork 693
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
WebView2: Select text and scroll no longer works. #9237
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you! Open similar issues:
Closed similar issues:
|
We have the same problem, reported by all our users. We have the latest stable sdk. |
@AdriaanLarcai, thank you for reporting this. I tested the scenario locally and text selection + mouse-wheel scroll + small control size is working well: WV2_Selection_Scroll_No_Repro.mp4This is with WinAppSDK 1.4.230913002 / WebView2Runtime 121.0.2277.128. Resolving Not Repro. If you find you can still repro the issue, please comment here and provide a repro app / video. Thanks! |
Hi, perhaps my issue description was not clear enough. I will update it. But the issue is not selecting text and then scrolling. The issue is selecting text, and while still holding the left mouse button pressed, using the mouse wheel to scroll up and down. Users do this when they need to select more text than what's visible on screen. This is functionality that used to work, and no longer works. |
This is a techniques that a lot of power users use : scroll the mouse wheel while holding the left mouse button to select text across many pages not visible on screen. |
Thanks @AdriaanLarcai and @applefanbois. I am still not able to repro this - holding down left mouse button and scrolling with the wheel works well for me, even after updating to the same WinAppSDK 1.4.230913002 that you used (+ WebView2Runtime 121.0.2277.128). Can you attach a video of the repro that you are seeing? |
This issue is also being tracked on Edge side at MicrosoftEdge/WebView2Feedback#4291. Not clear yet if it's specific to WinAppSDK or an underlying Edge/CoreWebView2 issue, makes sense to keep both open for now. + @champnic, @tochukwuIbeEkeocha FYI. |
Describe the bug
Selecting text in a Webview2 control, and while holding the left mouse button pressed, scrolling with the mouse wheel causes the app to freeze / mouse input to be lost.
Steps to reproduce the bug
Create a new Windows App SDK 1.4 Desktop application.
Add a WebView2 control with a source where the text / content is larger than the control's viewspace.
Select any visible text and, while holding the left mouse button pressed, scroll in any direction using the mouse wheel.
Expected behavior
The WebView2 control should scroll the content in the direction of the mouse wheel.
This was working in a prior version.
Screenshots
No response
NuGet package version
Windows App SDK 1.4.3: 1.4.231115000
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update), Windows 11 version 21H2 (22000), Windows 10 version 22H2 (19045, 2022 Update), Windows 10 version 21H2 (19044, November 2021 Update), Windows 10 version 21H1 (19043, May 2021 Update), Windows 10 version 20H2 (19042, October 2020 Update), Windows 10 version 2004 (19041, May 2020 Update), Windows 10 version 1909 (18363, November 2019 Update), Windows 10 version 1903 (18362, May 2019 Update), Windows 10 version 1809 (17763, October 2018 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: