Skip to content

[BUG] Keypad character counter shows the wrong limit after chat ends #751

Description

@soroush5

After a chat ends, the text box becomes the feedback box (max 500 chars, enforced on send). But the character counter underneath still counts against the 3000-char message limit.

Steps:

  1. Start a chat, then end it so the feedback box appears in the keypad.
  2. Type around 600 characters.

Result: the counter reads something like 600/3000, grey, no warning — yet the send button is disabled and Enter does nothing, with no message explaining why.

Expected: the counter should read 600/500 and warn, matching the enforced feedback limit.

Cause: commit ff40e85 moved limit selection into ChatKeypadCharCounter via the isFeedback prop, but chat-keypad.tsx never passes it, so the keypad always shows message limits.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions