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

Clicks in session replay are misaligned from the target element #15449

Open
billyvg opened this issue Feb 19, 2025 · 1 comment
Open

Clicks in session replay are misaligned from the target element #15449

billyvg opened this issue Feb 19, 2025 · 1 comment
Labels
Package: replay Issues related to the Sentry Replay SDK

Comments

@billyvg
Copy link
Member

billyvg commented Feb 19, 2025

Description

Clicks in replays can be misaligned from the target element.

We've discovered one instance where this happens is with custom fonts not being able to be loaded in the replayer due to CORS. This can cause rendering differences between production and during replay, which means that scrolling will be in correct due to the differing dimensions. Masking w/ variable-width fonts can also cause similar issues.

Remote asset caching could be a solution here, but the user can allow ensure that the server hosting their custom fonts allows *.sentry.io to access it (via Access-Control-Allow-Origin).

@billyvg billyvg added the Package: replay Issues related to the Sentry Replay SDK label Feb 19, 2025
billyvg added a commit to getsentry/sentry-docs that referenced this issue Feb 19, 2025
Adds a troubleshooting entry for when clicks are in the wrong location (e.g. it looks like it is clicking nothing, but it should be clicking a checkbox or button).

ref: getsentry/sentry-javascript#15449

https://sentry.slack.com/archives/C03USURCFBJ/p1739781759800659
@billyvg
Copy link
Member Author

billyvg commented Feb 24, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: replay Issues related to the Sentry Replay SDK
Projects
None yet
Development

No branches or pull requests

1 participant