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

fixed: focus handling when opening keyboard #2563

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

VladimirDyachenko
Copy link
Contributor

This PR resolves an issue with focus handling when opening the keyboard. I discovered that when an input field inside a modal on the chat page receives focus, the focus was incorrectly being intercepted by the chat input. The check for isTextInputWasFocused: MutableRefObject<boolean> was incorrect, so it has been replaced with a value check.

All tests have passed successfully. However, given my limited experience with this library, I would appreciate it if someone familiar with the project could review this change to ensure it doesn't unintentionally alter any critical behavior.

Let me know if you want any changes to it

@kesha-antonov kesha-antonov merged commit 7d70523 into FaridSafi:master Jan 9, 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