Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Bug 1875111 - Show keyboard when acquiring focus in edit toolbar. r=m…
Browse files Browse the repository at this point in the history
…carare,android-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D206558
  • Loading branch information
rocketsroger committed Apr 5, 2024
1 parent 84a6c7e commit 98725c7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import mozilla.components.concept.toolbar.AutocompleteDelegate
import mozilla.components.concept.toolbar.Toolbar
import mozilla.components.support.base.log.logger.Logger
import mozilla.components.support.base.utils.NamedThreadFactory
import mozilla.components.support.ktx.android.view.showKeyboard
import mozilla.components.ui.autocomplete.InlineAutocompleteEditText
import java.util.concurrent.Executors
import mozilla.components.ui.colors.R as colorsR
Expand Down Expand Up @@ -226,6 +227,7 @@ class EditToolbar internal constructor(
isFocusableInTouchMode = true
}
requestFocus()
showKeyboard()
}
}
}
Expand Down

0 comments on commit 98725c7

Please sign in to comment.