Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
9.28.0
Framework Version
No response
Link to Sentry event
Reproduction Example/SDK Setup
Sentry.init({
dsn: "__MY_DSN__",
integrations: [
Sentry.reactRouterV5BrowserTracingIntegration({ history, heartbeatInterval:8000 }),
Sentry.replayIntegration({
maskAllText: false,
_experiments:{
recordCrossOriginIframes: true
}
}),
Sentry.feedbackIntegration({
// Additional SDK configuration goes in here, for example:
colorScheme: "system",
includeReplay: true
}),
],
replaysOnErrorSampleRate: 1.0,
sendDefaultPii: true,
});
Steps to Reproduce
- Open the page with the feedback widget.
- Do something on the page for 30s or more
- Open the widget.
- Wait for some time before sending the feedback
Expected Result
The replay will contain 30s before the feedback widget is opened as mentioned here:
First, make sure that the Session Replay integration is configured correctly and that replaysOnErrorSampleRate is greater than 0. When this is done, the Replay SDK will buffer up to 30 seconds of the user's session until the user opens the User Feedback widget.
Actual Result
The replays start with the widget already opened.
https://dev-curumas.sentry.io/explore/replays/84e1fccb2d8a4dbcb912f611a2c973c6/?referrer=%2Fissues%2Ffeedback%2F&t=0&t_main=breadcrumbs
More examples were reported by a user in this internal ticket.
Metadata
Metadata
Assignees
Type
Projects
Status
No status