PostHog / PostHog/posthog

Bug: Double-clicking any navigation tab causes a React error in small projects and complete browser crashes in larger projects

Open
#38,947 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug team-devex ux
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Bug Description

Bug description

Double clicking any tab in PostHog causes the browser to crash, or presents a React error.

    at T1 (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:33989)
    at yC (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:11:24883)
    at https://app-static-prod.posthog.com/static/chunk-3NDNDLVS.js:58:46308
    at t5 (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:24398)
    at p0 (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:42664)
    at DC (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:41470)
    at hn (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:40490)
    at H7 (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:37069)
    at rn (https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:11:3274)
    at https://app-static-prod.posthog.com/static/chunk-FF7YSX62.js:13:34421

How to reproduce

  1. Doubleclick any navigation tab in PostHog

Image

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/39048 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/40814) and https://posthog.slack.com/archives/C06K4Q1AZMW/p1759278384035909

Debug info
Kind: bug

Target area: feature_flags

Report event: http://go/ticketByUUID/ae810723-e889-4658-a3bd-e47c273bb67c

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/0199a0bb-1eca-7422-9524-481dbc3d033f?t=156

Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%220199a0bb-1eca-7422-9524-481dbc3d033f%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%2C%7B%22type%22%3A%22hogql%22%2C%22key%22%3A%22uuid%20%3D%20'0199a0bd-84f7-7d11-b9d2-ad846e3e5338'%22%2C%22value%22%3Anull%7D%5D%7D%5D%7D

Location: https://us.posthog.com/project/65758/feature_flags/201478#panel=settings%3Abug%3Afeature_flags%3Amedium%3Atrue

Persons-on-events mode for project: person_id_override_properties_joined

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the double-click navigation-tab crash in the feature_flags area, then inspect the React error and the linked session replay and error-tracking reports. The issue names no source files or tests, so trace the navigation path from the reproduced failure. Done means double-clicking any navigation tab no longer produces a React error or crashes the browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.