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

Don't request focus explicitly if not needed #750

Merged
merged 1 commit into from
Aug 28, 2019
Merged

Commits on Jun 20, 2019

  1. Don't request focus explicitly if not needed

    Requesting the focus explicitly actually makes the child WebView to move the focus to the first visible focusable element on the page. This makes it impossible to simply let the WebView restore the focus to the last focused element, before the activity was paused. To prevent this problem on devices other that the Samsung Galaxy Note 3, only request the focus if necessary (it might as well be possible that the original fix is not needed anymore on newer versions of Android and/or WebView).
    goffioul authored Jun 20, 2019
    Configuration menu
    Copy the full SHA
    01ab116 View commit details
    Browse the repository at this point in the history