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

Webview steals focus when I right click ont he Panel #210108

Open
r3m0t opened this issue Apr 10, 2024 · 1 comment
Open

Webview steals focus when I right click ont he Panel #210108

r3m0t opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug webview Webview issues

Comments

@r3m0t
Copy link
Contributor

r3m0t commented Apr 10, 2024

Does this issue occur when all extensions are disabled?: N/a

  • VS Code Version: 1.88.0
  • OS Version: Windows

Steps to Reproduce:

  1. Compile and install the webview sample - https://github.com/microsoft/vscode-extension-samples/blob/main/webview-sample/src/extension.ts
  2. "Start cat coding session"
  3. Open a split view with package.json on the left and the cat coding webview on the right
  4. Show Panel and drag the Timeline into the panel, then click on the package.json
  5. Right click an entry in the Timeline. Expected: timeline stays visible. Actual: timeline entries disappear and webview grabs focus.

Note: I have used git bisect to identify the cause is #206529

Note: sometimes this behaviour of focus going to the webview happens when you right click in the package.json as well.

Note: in the recording I have made some other changes, like removing the <img> tag, it is to reduce file size of the gif.

Uploading Recording 2024-04-10 at 22.55.12.gif…

@r3m0t
Copy link
Contributor Author

r3m0t commented Apr 10, 2024

image

@mjbvz mjbvz added bug Issue identified by VS Code Team member as probable bug webview Webview issues labels Dec 13, 2024
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 webview Webview issues
Projects
None yet
Development

No branches or pull requests

2 participants