2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[fenix] No Issue - Hide keyboard when navigating or scrolling

This commit is contained in:
Jeff Boek 2020-08-24 11:21:19 -07:00
parent 91fb9f4a82
commit 78e111fc28
2 changed files with 6 additions and 0 deletions

View File

@ -159,6 +159,7 @@ class SearchDialogController(
}
override fun handleClickSearchEngineSettings() {
clearToolbarFocus()
val directions = SearchDialogFragmentDirections.actionGlobalSearchEngineFragment()
navController.navigateSafe(R.id.searchDialogFragment, directions)
}

View File

@ -136,6 +136,11 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
view.awesome_bar
)
view.awesome_bar.setOnTouchListener { _, _ ->
view.hideKeyboard()
false
}
return view
}