-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Image preview should not zoom on first click if unfocused #81877
Comments
Here's the relevant code about click handling in the image preview: vscode/extensions/image-preview/media/main.js Line 164 in 04d0cf6
|
If focus is required for zoom, then the cursor when hovering over the image preview should be the default arrow cursor when unfocused, currently it is the zoom-in cursor. Also zooming with the mouse wheel should not be allowed when unfocused. Thoughts? |
Fixed by #82074 |
I'm still seeing the first click zoom. Steps:
|
@alexr00 I'm not able to reproduce. Have tried on both insiders 1.40.0 and OSS. Does this only occur with gifs for you? |
I can repo this. You may need to click back and forth multiple times trigger the error |
I'm still not able to. Will try more tomorrow. A possible cause might be that the |
Repo
Bug
The first click ends up zooming the image. Clicking should only zoom when the editor is already focused
The text was updated successfully, but these errors were encountered: