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

fix(amazonq): Remove automatic focus on prompt input field after response #5666

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jpinkney-aws
Copy link
Contributor

Problem

When a request completes in amazon q the chat is automatically focused, pulling focus away from anything a user is doing in the editor

Solution

Disable automatic prompt focus

Mynah UI docs: https://github.com/aws/mynah-ui/blob/b7f9807b4aa984dda9200286a9d0d9e083dd39fa/docs/CONFIG.md#autofocus


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jpinkney-aws jpinkney-aws requested review from a team as code owners September 25, 2024 14:10
Copy link

This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.

@jpinkney-aws jpinkney-aws marked this pull request as draft September 25, 2024 14:12
@jpinkney-aws
Copy link
Contributor Author

Found out this has the unintended consequence that if a user is focused/doing multiple back and forths in chat the prompt input field doesn’t get automatically focused after a response comes back. Might need to update mynah ui itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant