Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add keyboard shortcuts for closing modal (Escape) and submitting (Enter) in File Upload Window #801

Open
2 tasks
dhairyashiil opened this issue Jan 4, 2025 · 0 comments · May be fixed by #802
Open
2 tasks
Labels
enhancement New feature or request

Comments

@dhairyashiil
Copy link
Contributor

As an EmbeddedChat developer

I need to: implement keyboard shortcuts for the File Upload Window, where pressing Enter triggers the submission of the file, and pressing Escape closes the modal.

So That: users can quickly interact with the modal using the keyboard, improving usability and efficiency.

Acceptance Criteria

  • Pressing the Enter key triggers the submission of the file and prevents the default behavior (such as adding a new line in the text area) when the user is inside the input fields for the filename or description.
  • Pressing the Escape key closes the window when the user is inside the input fields for the filename or description.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant