-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
In-progressDev work in progress and will update when there's progress.Dev work in progress and will update when there's progress.bugSomething isn't workingSomething isn't workingtrackedWe are tracking this work internally.We are tracking this work internally.
Description
Description
I have a Winforms WebView2 hosted in an Excel VSTO Task pane, There is no System.Windows.Forms.Form hosting the WebView2 control, instead, a System.Windows.Forms.UserControl is the owner/host of the control. After giving the WebView2 focus, it holds on to it after I've clicked back into the Excel worksheet.
Version
SDK: 1.0.705.50
Runtime: Evergreen RT 88.0.705.68
Framework: WinForms
OS: Win10 1909
Repro Steps
- Render some fairly simple static HTML in the WebView2
- Click in a worksheet cell, verify that keystrokes are acted on there (eg. right-arrow moves selected cell)
- Click in the HTML content in the WebView2 (in the task pane), verify that keystrokes are acted on there (eg. Enter toggles an expand/collapse widget)
- Click back in a different worksheet cell
Observed: selected cell is changed as expected, however keystrokes are still getting captured by WebView2 (ie. Enter toggles the HTML widget instead of moving the cell selection).
Metadata
Metadata
Assignees
Labels
In-progressDev work in progress and will update when there's progress.Dev work in progress and will update when there's progress.bugSomething isn't workingSomething isn't workingtrackedWe are tracking this work internally.We are tracking this work internally.