Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(replay): keep backdrop-filter paint inside the replay frame (#120735)

Kim Svatos Dugan504f9ba27002
diff --git a/posthog/templates/replay_player_frame/index.html b/posthog/templates/replay_player_frame/index.html
index 09d2d241cc98..8a68cb4f7a5f 100644
--- a/posthog/templates/replay_player_frame/index.html
+++ b/posthog/templates/replay_player_frame/index.html
@@ -41,6 +41,10 @@
.PlayerFrame__content iframe {
background-color: white;
border: 0;
+
+ /* Recorded pages with backdrop-filter can make Chrome paint outside the replay frame,
+ over the app around the player. Clipping the frame to its own box keeps that paint in. */
+ clip-path: inset(0);
}
/* Copied over from rrweb replay css */