-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Zooming out on Canvas Element(s) causes Cropping in Replays #83682
Comments
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-replays for triage ⏲️ |
can you take a look at this @c298lee? |
The zooming in the example replay and the user view recordings match up. The issue does not seem to be with the zooming but with the canvas taking up less room than it should. In the recording, the canvas takes up the full screen, but in the replay, the canvas takes up ~66% of the screen. This is because the source image is 2534 x 1172 while the canvas is 3801 x 1758. I need to further investigate to see why the image dimensions don't match the canvas dimensions |
@ReneGreen27 Could you ask the customer to provide a link to their project that I could debug with? |
@c298lee there is an example link provided in the internal ticket 142417 as shared above, I will also PM this to you :) |
Hi @c298lee, just a heads up that I'm the customer who lodged this ticket via support. If you need anything or have any questions, let me know. |
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
This is being seen in a React project on latest SDK version (8.48.0)
This occurs when a user zooms out in their browser - ie holding down control and using their moses wheel to zoom out.
You will then see in the associated replays that the captured canvas displays zoomed out incorrectly in the player.
The element in question is a canvas and are confirmed to be snapshotting per the documentation.
Expected Result
For the replay to correct capture the zooming out of the canvas element(s).
Actual Result
Example replays and user view recordings can be found in internal ticket #142417
Product Area
Replays
Link
No response
DSN
No response
Version
No response
The text was updated successfully, but these errors were encountered: