Skip to content

Question tool: custom 'Other' answer migrates/disappears when switching tabs #8199

Closed

Description

@luispl77

Summary

In the TUI Question tool, typing a custom answer via Type your own answer and switching question tabs with the mouse can cause the answer to be applied to the wrong tab/question (or appear missing on Confirm). Also, when re-opening the custom input, the cursor jumps to the start of the line.

Repro

  1. Trigger the Question tool with multiple questions (tabs visible).
  2. On Question A, choose Type your own answer and type some text (do not press Enter).
  3. Click Question B tab with the mouse.
  4. Go to Confirm.

Expected

  • The custom answer stays attached to Question A.
  • Re-opening Type your own answer places the cursor at the end of the existing text.

Actual

  • The custom answer can migrate to Question B or be missing on Confirm.
  • Cursor starts at the beginning when re-opening the custom input.

Videos

Before

Image

After

Image

Environment

  • OS: macOS
  • Branch: dev

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 13, 2026
  2. tesskleppe-pixel commented on Jan 13, 2026

    @tesskleppe-pixel

  3. added a commit that references this issue on Feb 6, 2026
    2094b7c
  4. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions