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): show the mouse cursor above the clipped replay iframe (#121531)

posthog[bot]c33aec9ff068
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index c894856bba51..990cfb428719 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -13959,9 +13959,9 @@ snapshots:
scenes-app-notebooks-widget-views--recording-playlist-views--light:
hash: v1.k794b7964.89c3ed888d890828bb4e8edb03a0d364f4cc4b4251e2ddb682334357344dc1bb.zDgR1DlbnvlDpqFoxrh4-tPnbNpw8E-XLNXm_luHydE
scenes-app-notebooks-widget-views--recording-views--dark:
- hash: v1.k794b7964.9f4dd4e4b91b8d298feb96b6267ffba85c8026e96e18bf481d9073fe87487a2b.R-pDofHnMoerlmPZv6ZpcWPYNf8qln0AS_d59Abhdtc
+ hash: v1.k794b7964.71e4b0c3bd6348927d9c646568bde5fe0a73ad696e8aef84a1f93d9b60d6a5d1.8HpioHKOMmJiZTBI_appXHlYG4Jxx3Q0FbnetB4xWVU
scenes-app-notebooks-widget-views--recording-views--light:
- hash: v1.k794b7964.3ee28f0595a1b29b426465ce5df51891944c5f16f14f3d09223194e3ede5610f.fMeei9Dv1QCEIWQOPV-BRqYI2wiIAp7aElnSK21qm1E
+ hash: v1.k794b7964.19d9c2501b03bda0f86224495f6795d47245048a60eae1622fdddc1bbd7b849f.LgiWqwOa5-AITTZwiVBt18fyIriR6H6rgiEhEYcKKqs
scenes-app-notebooks-widget-views--survey-views--dark:
hash: v1.k794b7964.7dbce0492a46b65793cd8faeec3843c429620e02d58831474adb9b0ab6af41f9.rnz0iN5IRgzWqUcCnP5J4jl4k5uI_7VU1uC3ZU30c0Q
scenes-app-notebooks-widget-views--survey-views--light:
@@ -14471,29 +14471,29 @@ snapshots:
scenes-app-replay-vision--monitor-scouts--light:
hash: v1.k794b7964.4c28a14586ee2faa1931e2eede61d3150b8cecc54c0c0ded54271009720a8988.jNFulRMpSmEZV66cFKOF9BOSxNbajaC0FVAXzi0NrJc
scenes-app-replay-vision--observation-detail--dark:
- hash: v1.k794b7964.ead47236d1d1c4417446dcd3af3eb8b469a83025aca214f94871ea972cd116e9.RSf66D2SpoD7AMXp_jM2U0q54cONyrDa8EI-Btt_2rs
+ hash: v1.k794b7964.75109f4be112d05872959aea0d392afa386ebfd8fd2e46d4092730d9627e8b02.iNiFe56KICbrH-lC5vhiJvHb3ap1P4ZZxnwDDT6w50w
scenes-app-replay-vision--observation-detail--light:
- hash: v1.k794b7964.2907a029220121aefb494c09a05012ee1c2066e89e3b50e27bd3d931badc6a22.hu6VSStoP6V4v8otEfOzTPaElRHzdvBSp8IAWZDK7os
+ hash: v1.k794b7964.00f35aceb5cdba733291648283aa55c2873814e1511e4394b1f563205e068e44.9QOwHay0_E6FTvDZyQ20RfIQkYA99RDf1vhpKelCORA
scenes-app-replay-vision--observation-detail-classifier--dark:
- hash: v1.k794b7964.12f865ba8004917afe754031855095cab3a741c8cca111eaf3526a05cdfbf6fe.xXwxOTOWe7gI_RLUGGV4eV9ZF4VsjFYMMTxSHhS1rx0
+ hash: v1.k794b7964.e6f8885684dc72d6907a9a6d7d536295a28121bb9e2426756caa8d425c55570b.9fXVhl7PgIzxyVb6KXvatI8GYGvOcOZlWQ30TgOM6AA
scenes-app-replay-vision--observation-detail-classifier--light:
- hash: v1.k794b7964.dbe84b470dd5511be30023dd4cac5852734a7d4ec893b3a6826cffef8ced8776.Ve4knYR4QU_VNMm4qyx00cPEM7Yx__0A-3Kp4yWwqtU
+ hash: v1.k794b7964.812c52630f07aad627bbef36145b4499599d5df16411d81dfe884abac4e5b48c.YNeITkL81fdUmXdlHQSOaVOxIi1otp_nLJPYEjWSWkc
scenes-app-replay-vision--observation-detail-failed--dark:
hash: v1.k794b7964.07b7872338385fd4798f0d5ba9bc83103e7eded996ad25bacbfac44e78141850.ELDT3n6Usls8RGZ-22vo6KPDOrh05j5HP6-RnDy4wHI
scenes-app-replay-vision--observation-detail-failed--light:
hash: v1.k794b7964.865a18ec9e2c1d9616742ac66c69072d90ded6efb4bc8e973d43a7e9cdc205ee.8UP6XrRPnVlsT97P9jstn4CnaeBZZJD9oMPPfx4DwcQ
scenes-app-replay-vision--observation-detail-inline-scan--dark:
- hash: v1.k794b7964.6fa7d2a7defa4c4604f6f27b68ff8074abc015397ca25972e65071a6962f4f21.7sI7jH2znvdJMFVchVCWse7aw1ITBj2iqZ1w8QfSLLE
+ hash: v1.k794b7964.ae52ae6b7550bd29bb072461a76f6adb7225017bef54712ae0983da16d73d38c.TMsKlJUqYj_m_dfJE700BerOPX_sIpZYfuZHqrEhGIE
scenes-app-replay-vision--observation-detail-inline-scan--light:
- hash: v1.k794b7964.65dd3a17e5fb8d513d0402a73448a00048b8127b25e7ff770afadbe2cb30f75a.lkPd0pD2JTxnyZj40iVIYBrkR_JjlVA4twjbb4Sf_Tk
+ hash: v1.k794b7964.58c261c32ebe4877009c5f758aea489ac52f9afea88b3fb7e528f06beb12baee.yLN7cpDKxLxc4oOyubpLEzKTHWFBFtsZbMZxdUKgS1A
scenes-app-replay-vision--observation-detail-monitor--dark:
- hash: v1.k794b7964.4118e4cfeb3bbb9e8a6a6c3e03431bca2411aa9bf9c797f95ddb62fbbea4cbbc.EvbBFEaiEVOFOUwCS4-uAxLDyRzyH0daf3wcMNl8HYU
+ hash: v1.k794b7964.deb691222dbfac3ac026fe5fd3e22fc1ca4282d3cea77339a453e6f89a737698.vLBiLKOhkrF7r5hcf4_w7vYAJqB7bE9avnCOat5nGRQ
scenes-app-replay-vision--observation-detail-monitor--light:
- hash: v1.k794b7964.b674526adb074d44fd585a2a2bc10030bd3e0ac1e6cfb622d77fe721c1eb4ee4.sG-9Z7rGAkh_RqxW0lOFmq-AnCqjJDHq19xHCdE5TDs
+ hash: v1.k794b7964.7a3f583432dafb78a1712b3b526dc23a71e0f5aca25fe249caeb91542f743530.ZQJ6IbAigy-fkKYwESiijE75Pe3rGKU1tiK9nokMpZE
scenes-app-replay-vision--observation-detail-monitor-inconclusive--dark:
- hash: v1.k794b7964.d5846fe88e8f657ad857888c4d9174e32947d69c297e481d3aa04f0f95ddf42a.lS6INzTX1u3SsUjaNsZUNADP_Rk2EjqVFMtyiLUfQp8
+ hash: v1.k794b7964.229ab647e9abbd21cfb03dfb3f6df81d2d451340306dfd0b0b7ad6eb6e40ef59.yEzmeFt1UIl7qMAFEVHqdycOCe4fQGQFw8tHvzZNapM
scenes-app-replay-vision--observation-detail-monitor-inconclusive--light:
- hash: v1.k794b7964.1441e41dc0bbbfac87001e5791ff7c2f59aadf92ea47c2fb23501b1aaf0df91b.YkZZZ79JlS70VCfbkPLKXmdSdn4ekCCCJI0n0cPpg8E
+ hash: v1.k794b7964.51caae084374f8732810fc955d637cc0cba2049e991f6e8265cd01fc5ed53487.rT7EJy5Z5T4fOiZeaJTpzZkQQA29DIaN-hcZ2GtegCs
scenes-app-replay-vision--observation-detail-not-scanned--dark:
hash: v1.k794b7964.5aaf0fce8c31111ab54cc6b9f977c306d10a7490720f1f519b8071658531dc6f.anx8zQcKtVWrkZII_qKhA5Za18rbKNC6ZJ7UNu0lYHc
scenes-app-replay-vision--observation-detail-not-scanned--light:
@@ -14503,21 +14503,21 @@ snapshots:
scenes-app-replay-vision--observation-detail-recording-expired--light:
hash: v1.k794b7964.7d41766ac840c8497df9533ceb88f0086afdef57975b1f951c69183f8d060140.LFlTkcd2zNKfvqkEVgBcZBWPyVDizpCV1JoCmj8JdsE
scenes-app-replay-vision--observation-detail-scorer--dark:
- hash: v1.k794b7964.557ba435aa86f5a7c7ad3e99278838e019af11c8ba07cdf487d64c115ea7d488.ijnZfV_CUJhHp5JjOt4lhNEFxu_ivzhBqoUY3-P0a6E
+ hash: v1.k794b7964.35969efd42660b47ef1ebb786fc9472428cd09dcb09c415f72674dd029c0c1f8.V0_UrhVG3UA6I3S9buZ63q0J2_NbT9k1gnOg3GiwnEU
scenes-app-replay-vision--observation-detail-scorer--light:
- hash: v1.k794b7964.86ea4a699e44547486dbe74d7a5b41bcc1d70da74a6ae0d83248ace271c42206.KVR_rZWuuO591u_-fV9mQ-R70ndU4kgkAk_cH4A7Yb8
+ hash: v1.k794b7964.22324e39500a751d81afa2f8182d9c5bfa3210cab96e87275823a68bd742675a.UgutZacJ0sLcHH7UdObmCzZPgJhEVpkio7zxH_r90b4
scenes-app-replay-vision--observation-detail-summarize-button--dark:
hash: v1.k794b7964.b6352f9e6927ea338746776eef45109f3b7a13879aae0ad7fe5171fca1939d65.pSQTGMRBL8PO4VxW_Y3J3ZZREZDuconTOwUJnXnUyn4
scenes-app-replay-vision--observation-detail-summarize-button--light:
hash: v1.k794b7964.6b8d659d537b98e11ff5a73e1d80f801d50980450845a7ab8bc574e1bb999d89.eASeUu7GVtBYfK9fq4HRPArLXsJJ_tYVZ1lItGfqbl8
scenes-app-replay-vision--observation-detail-summary-with-timeline--dark:
- hash: v1.k794b7964.d1dc5022e31eecde45fe4d096daa0f4d9241c5d12f01a46a0157e4eff295869d.UUnrUh-jcX-N0qCZ3MKUa0Sb7ATTkqMWu0-k0ZyOe_0
+ hash: v1.k794b7964.5f217eb61e6b3a843dc8fb6d9b255f55aff8f95e29581c4ee303db78fc4eb2ad.u9RtPaF134pNlgU-fbrbUnPrw3hkRV0lvxlBXeALgUc
scenes-app-replay-vision--observation-detail-summary-with-timeline--light:
- hash: v1.k794b7964.8efea387355ce89410767952654088a02d9e69c42c4be967a7bd9324ee24db77.VsAofyvLvayalr8JEyY0Ri7ifNaJM7oIq5RaG84YH7Q
+ hash: v1.k794b7964.b2321eb13646953e0bfa0188b2134c392ef2d52b7e996ad68251b1fef9246f11.LVZTO9OXuExUdI3n0DBrrv9i57r3LlInwaU_7tY0W5g
scenes-app-replay-vision--observation-detail-timeline--dark:
- hash: v1.k794b7964.c308d7aaab63238b5443cca09ad272613f5edf93a218f83cd2f7fbd74d429fb8.zKaGAKX96pRdp6Oqw9su6gan9GYAjC7yNbGiH7n0Ct0
+ hash: v1.k794b7964.bf7e9538b0a80db8728fa241af5b976bdcfe437e4b4f0d9e18bf5689bc902d6d.sr6VycpuB19kUfNJRIVLrzCv1izKFloRw-y3pbPLCjE
scenes-app-replay-vision--observation-detail-timeline--light:
- hash: v1.k794b7964.b9139138122934a8a44b540b4b597a937e311339d3e6f181295419831cf03897.kMu3mRxw1ROQjnr3tICjDNBYFjXjQIE4zj1rkbUQRU0
+ hash: v1.k794b7964.3c531a4204a092c6974af6ea99d760da7c2d3eeb2a0cff544fa081c7b2fd5ea1.n4Bb1ZkK06TVbBVixyfzm5lYSeqHLuu6f2Zg_3ddo78
scenes-app-replay-vision--scanner-alerts--dark:
hash: v1.k794b7964.896c88dce93f835c8396e59c350f95ed7e6bad84fcc7ceac2bacb6a684f0d660.SBgziIzgWDJDQ2FpG-ufHaKxpigdc5Iq_YsHxqf8M1M
scenes-app-replay-vision--scanner-alerts--light:
diff --git a/posthog/templates/replay_player_frame/index.html b/posthog/templates/replay_player_frame/index.html
index 8a68cb4f7a5f..0fb01048a6ca 100644
--- a/posthog/templates/replay_player_frame/index.html
+++ b/posthog/templates/replay_player_frame/index.html
@@ -52,6 +52,13 @@
position: relative;
}
+ /* rrweb puts the cursor before the iframe, and the clipped iframe paints over
+ positioned siblings that have no z-index. Keep it below the masking overlay. */
+ .PlayerFrame__content .replayer-mouse,
+ .PlayerFrame__content .replayer-mouse-tail {
+ z-index: 1;
+ }
+
.PlayerFrame__content .replayer-mouse {
position: absolute;
width: 20px;