Skip to content

feat(fireabase-ai): add keyboard focus management #2682

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

Closed
wants to merge 1 commit into from

Conversation

YoungHypo
Copy link

The soft keyboard is not automatically retracted when the user clicks on other areas of the interface after typing in the text input box.

By adding focus management logic to the root containing the text input box, the focus is automatically cleared when the user clicks on a blank area, which triggers a keyboard retraction.

@thatfiredev
Copy link
Member

@YoungHypo Thanks for putting together a PR.

I think the current behavior is intended. The keyboard should be dismissed by clicking on the back button, not when clicking on a blank area.

I have noticed this same behavior in popular chat apps such as WhatsApp, Telegram and Google Chat.

That said, I'm going to close this PR for now, but please leave a comment if you'd like to discuss more.

@thatfiredev thatfiredev closed this Jul 4, 2025
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.

2 participants