Skip to content

Feature Request: Autofocus in copilot mode #2944

Description

@diehmniklas

Is your feature request related to a problem? Please describe.
When I open a chainlit application running in copilot mode, i always have to click again in the text input area to enter my quesiton.

Describe the solution you'd like
My sugesstion is that copilot mode follows the same logic as the "normal" frontend: directly focus the text area input so that the user can directly start typing in his/her question.

Describe alternatives you've considered
Disregard the feature request and keep the current behavior or make the change configurable with an config variable.

Additional context
Add any other context or screenshots about the feature request here.

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

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions