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 focus loss when text field is present #46

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

FrenkyDema
Copy link
Owner

Description:
This pull request addresses focus loss issues caused by the barcode scanner intercepting keyboard events when a text field has focus. Changes include optimizations, error handling improvements, and enhanced code readability.

Changes:

Added documentation comments.
Optimized logic in _keyBoardCallback.
Improved error handling to prevent null pointer exceptions.
Refactored method names and comments for clarity.

Handling focus lost when there is text field in widget tree
@FrenkyDema FrenkyDema added the bug Something isn't working label Jun 11, 2024
@FrenkyDema FrenkyDema self-assigned this Jun 11, 2024
@FrenkyDema FrenkyDema merged commit 1cace49 into main Jun 11, 2024
2 checks passed
@FrenkyDema FrenkyDema deleted the fix/handling-focus-with-input-field branch June 11, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working example lib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant