Skip to content

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

Closed
YoungHypo wants to merge 1 commit into
firebase:masterfrom
YoungHypo:keyboard_focus
Closed

feat(fireabase-ai): add keyboard focus management#2682
YoungHypo wants to merge 1 commit into
firebase:masterfrom
YoungHypo:keyboard_focus

Conversation

@YoungHypo
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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