Skip to content

Conversation

miquelbeltran
Copy link
Member

@miquelbeltran miquelbeltran commented Jul 4, 2025

This PR allows to disable autofocus in the LlmChatView.

Currently, the chat input will be focused automatically, to avoid that you can set the list of suggestions. This PR introduces an optional autofocus parameter to override that functionality and force the autofocus on or off.

Closes: #133

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@miquelbeltran miquelbeltran marked this pull request as ready for review July 4, 2025 13:15
@miquelbeltran miquelbeltran requested a review from csells July 4, 2025 13:31
@csells csells merged commit bf2e8eb into main Jul 4, 2025
3 checks passed
@miquelbeltran miquelbeltran deleted the fix/133 branch July 5, 2025 07:39
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.

Avoiding autofocus
2 participants