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

Keyboard autofocus android FIX #7411

Merged
merged 4 commits into from
Dec 20, 2021
Merged

Keyboard autofocus android FIX #7411

merged 4 commits into from
Dec 20, 2021

Conversation

swabbass
Copy link
Contributor

#Issue:

When requesting autofocus on a screen that is being pushed with animation, insets will be applied once the view added to the view hierarchy, but when having animation the focus will be delayed until the view is fully visible in order for the edit text to take action and has a focus which will miss the first insets measurements.

#Fix:

Apply insets once the view is finished with the animation in order to resize/pan content when the view receives focus, once autofocus is passed to an EditText.

…ntrollers/component/ComponentViewController.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants