This reproduces a customer issue: Radix UI popovers/menus don’t show up in Session Replay, even though they render fine live.
Stack: React 19, Radix, shadcn, @sentry/react 10.58.0 (rrweb 2.43.2), useCompression: false, no masking, replaysSessionSampleRate: 1.0.
-
Put your DSN in
src/sentry.ts→SENTRY_DSN(falls back to ajavascript-electronDSN if empty). -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173.
For each test control (1–6):
- Load the page and wait 2–3 seconds for the full snapshot.
- Click the trigger to open the popover/menu and leave it open for 2–3 seconds.
- Close it.
- Wait 1 second, open it again, then close it again.
- Click Go to Other route, come back, and repeat Tests 1 and 2 to check post-navigation behavior.