Skip to content

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

@luispl77

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

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