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] context problem with device changes #1906

Merged
merged 1 commit into from
Mar 5, 2025
Merged

Conversation

TheNoumanDev
Copy link
Member

The root cause of the issue is that device changes (like screen dimensions) are being detected correctly and the events are being dispatched and reflected in the UI. This happens because the UI is being re-rendered, and when the UI gets re-rendered, the TextField loses focus and the keyboard gets dismissed.

I tried to get the context from Utils.globalAppKey.currentContext but that is not working with ScopeManager, so we might need to figure out a proper solution, which will be time-consuming. I'll create a ticket for it and dedicate time to solving it because it's a separate issue that isn't currently affecting any customers or being used by them.

@TheNoumanDev TheNoumanDev changed the title removed device changes to update its properties [Fix] context problem with device changes Mar 5, 2025
@TheNoumanDev TheNoumanDev merged commit 6e8ec8d into main Mar 5, 2025
3 checks passed
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