isDisabled, handleSubmit, and Half Question onClick all checked question.trim() instead of displayValue.trim(). Since question state is only updated on onFinalTranscript (complete sentences), interim ASR delta text shown in the textarea via partialText was invisible to the disabled check — buttons stayed disabled until sentence end. Fix: use displayValue which includes partialText when user hasn't typed. |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||