Microsoft/vscode
在 GitHub 查看Right click in WebView causes focus to shift to the last active Tree View Item
Open
#177,784 创建于 2023年3月21日
bughelp wantedwebview
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)
描述
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.76.2
- OS Version: Windows 10
Steps to Reproduce:
- Clone the following sample: https://github.com/microsoft/vscode-extension-samples/blob/main/webview-sample
- Run the extension and open the WebView
- Click on any tree view item (like in the explorer)
- Right click inside the WebView and watch as the tree view item is focused
This is especially annoying if you have a some form of input so you cannot do Right-Click -> Copy/Cut/Paste, see video: