PostHog / PostHog/posthog

Question prompt defaults to "custom answer" after a custom answer was given previously

Open
#76,239 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Problem

When you give a custom answer to a question prompt, the next question that appears has "custom answer" pre-selected as the default option instead of the normal default.

https://github.com/user-attachments/assets/1b9561c4-68bd-4b73-863a-582a1a4a3dc1

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

Reproduce the flow shown in the attached report: submit a custom answer, then open the next question and inspect which option is selected. Trace the question prompt UI and its state initialization, then add or update coverage for this sequence; done means the normal default is selected for the next question.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.