Skip to content
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

Right click in WebView causes focus to shift to the last active Tree View Item #177784

Open
EhabY opened this issue Mar 21, 2023 · 0 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities webview Webview issues
Milestone

Comments

@EhabY
Copy link
Contributor

EhabY commented Mar 21, 2023

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.76.2
  • OS Version: Windows 10

Steps to Reproduce:

  1. Clone the following sample: https://github.com/microsoft/vscode-extension-samples/blob/main/webview-sample
  2. Run the extension and open the WebView
  3. Click on any tree view item (like in the explorer)
  4. 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:

RightClick.mp4
@EhabY EhabY changed the title Right click in WebView causes focus to shift to the last active Tree View Right click in WebView causes focus to shift to the last active Tree View Item Mar 21, 2023
@mjbvz mjbvz added the webview Webview issues label Mar 27, 2023
@mjbvz mjbvz added this to the Backlog milestone Dec 6, 2023
@mjbvz mjbvz added bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities labels Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities webview Webview issues
Projects
None yet
Development

No branches or pull requests

2 participants