Skip to content

Session replay not rendering correctly on firefox #12978

@Ulset

Description

@Ulset

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/remix

SDK Version

8.17.0

Framework Version

Remix 2.10.2, vite 5.3.3

Link to Sentry event

https://weebe.sentry.io/replays/c9e15b13436d448d9c7df35cfd7ba445/?environment=staging&project=450748936572116

SDK Setup/Reproduction Example

import * as Sentry from "@sentry/remix";

Sentry.init({
  dsn: "https://edab7551bfaf9f75bb0d6ffb648fe960@o45074893631651.ingest.de.sentry.io/4507489365721168",
  integrations: [
    Sentry.browserTracingIntegration({
      useEffect
    }),
    // Replay is only available in the client
    Sentry.replayIntegration({
      maskAllText: false
    }),
  ],
  enabled: process.env.NODE_ENV !== "development",
  environment: process.env.NODE_ENV,
  tracesSampleRate: 1.0,
  // Capture Replay for 10% of all sessions,
  // plus for 100% of sessions with an error
  replaysSessionSampleRate: 1.0,
  replaysOnErrorSampleRate: 1.0,
})

Steps to Reproduce

  1. Set up sentry session replay as according to the sentry for remix documentation.
  2. Use the app
  3. Watch replay. Observe that the rendering of the page is not updating correctly

Expected Result

This is the page on the app:
bilde

This is whats rendered on sentry.io:
bilde

As you can see it seems like sentry doesnt recognize that this was a new page render, and renders the new page at the bottom of the old one

Actual Result

bilde

Metadata

Metadata

Assignees

Labels

BugPackage: remixIssues related to the Sentry Remix SDKPackage: replayIssues related to the Sentry Replay SDK

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions