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:
parent
91fb9f4a82
commit
78e111fc28
@ -159,6 +159,7 @@ class SearchDialogController(
|
||||
}
|
||||
|
||||
override fun handleClickSearchEngineSettings() {
|
||||
clearToolbarFocus()
|
||||
val directions = SearchDialogFragmentDirections.actionGlobalSearchEngineFragment()
|
||||
navController.navigateSafe(R.id.searchDialogFragment, directions)
|
||||
}
|
||||
|
@ -136,6 +136,11 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
|
||||
view.awesome_bar
|
||||
)
|
||||
|
||||
view.awesome_bar.setOnTouchListener { _, _ ->
|
||||
view.hideKeyboard()
|
||||
false
|
||||
}
|
||||
|
||||
return view
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user