Skip to content

[upstream #16641] #16641: Keep the batch question popover visible above a tall composer draft #240

Description

@berry-13

Raised on LibreChat-AI#16641: LibreChat-AI#16641 (comment)

When a batch ask_user_question interrupts while the composer holds a multi-line draft, the preserved textarea can stay 45 to 55vh tall. The batch popover is positioned bottom-full above the whole composer with its own 70vh cap, so the two together can exceed the viewport and push the prompt and the move-to-chat control above the visible area.

Options: bound the popover by the space above the composer (measure the composer, or use an anchored position with a collision boundary), or collapse the locked composer to one line while the batch owns it.

Surfaces: client/src/components/Chat/Input/AskUserQuestionPopover.tsx, client/src/components/Chat/Input/ChatForm.tsx.

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

    area: clientreviewctl followups statebugSomething isn't workingreadyreviewctl followups state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions