mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/3175: Correctly grabs focus in search fragment (https://github.com/mozilla-mobile/fenix/pull/3938)
This commit is contained in:
parent
301b057d02
commit
61bb1ef218
@ -139,7 +139,9 @@ class ToolbarUIView(
|
||||
updateEditingState(newState)
|
||||
}
|
||||
|
||||
if (!newState.focused) {
|
||||
if (newState.focused) {
|
||||
view.focus()
|
||||
} else {
|
||||
view.clearFocus()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user