PostHog/posthog

Multiple browser tab oddities

Opened this issue · 0 comments

Bug Description

User experiencing the issue: https://posthoghelp.zendesk.com/agent/tickets/38172

This looks like some sort of state management issue but I'm afraid I don't quite know enough details of how this all works. But with multiple tabs open, each on a different project in a different organization, I can get the tab to sort of break in ways that can be quite confusing. This is also bad because it can give users a false sense of where they are and what they're making changes to. This can also happen in Settings, which as you can imagine could be very confusing, especially if the Default Project name is used across multiple organizations.

How to reproduce

Video:

CleanShot.2025-09-22.at.10.08.25.mp4
  1. Have a user account in multiple organizations
  2. Open two tabs, one from each organization on a project in each
  3. Do something that forces a change, I've seen this happen in Settings and Feature Flags but it's probably possible in other areas.
  4. Upon saving, the project warps from one organization to the other (visually) and the state becomes confusing.

Additional context

It mostly seems like this is a situation where multiple tabs are not great across multiple organizations/projects.

Debug info

- [x] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]