
What if I want to go back to my opened tabs? It took me a while to figure out that I was meant to swipe to get back to opened tabs screen, and even then it seems as though I wasn't starting my swipe close enough to the right edge of the phone.
Could we add a UI element to hide this screen? I'm not sure how/if this could be improved.

We decided to solve this problem on the search screen by adding a Back button to the left of the address bar.

On older devices Android always displays a back button, but we might want to tweak the UX to better work with gesture navigation in Android 10.
@darkwing @NotWoods Youāre right. On Android <10, this isnāt a problem because the back button is persistent, so users can always dismiss the search bar and return to the start screen.
Android 10 turns back into a gesture. No more button.
Although itās tempting to solve theĀ ānow whatā problem by re-introducing the back button somewhere onscreen, I wonder if we should think about keeping the keyboard persistently up (ie. not dismissable)?
With a persistent keyboard, users may understand better that dismissing is accomplished either by tapping the software/hardware Back button, or swiping back (if running Android 10).
Further, when we outline the behaviour, we see a new issue crop up. See number 3 below:
Think: āI want to search for somethingā
Action: Tap search bar
App response: Show search modal
Think: āI want to use another search engineā
Action: Scroll down the screen
Expected response: Keyboard stays up āĀ app lets me see other search engines
Actual response: Keyboard disappearsā¦Ā now what? ā This is the issue @darkwing brought up
App response: dismiss keyboard, show list of search engines
Think: āNever mind. Just go back.ā
Action: Tap back button or swipe (if on Android 10)
Expected response: Go back to Firefox Preview start screen ā This is a new issue
Actual response: Firefox Preview exits to the phone home screen
Iāve outlined a potential solution to this issue above in https://github.com/mozilla-mobile/fenix/issues/6666#issuecomment-557948786:
keeping the keyboard persistently up (ie. not dismissable)
With a persistent keyboard, users may understand better that dismissing is accomplished either by tapping the software/hardware Back button, or swiping back (if running Android 10).
@darkwing @NotWoods do we think that this solution sounds reasonable to try out, or is there a deeper problem that needs to be solved?
@darkwing @NotWoods I also want to post another solution we can consider, which is to show a dedicated button for āā¬ ļø Backā or āCancelā:


Keep in mind that these buttons will be more useful in Android 10 where users may not have a hardware/software back button. If thereās a back button provided by the OS, we wonāt need to show them.
Any thoughts?
I like a back button, but I'm also an ancient 36 years old :)
Hi @darkwing, since the problem seems to stem from an _undismissable search screen_, we think we can help solve it using these behaviours:
Hopefully this solves the āIām stuckā problem on the search screen, by always showing users a clear, non-dismissible exit path? What do you think?
(I think that putting an extra back button to the left of the search bar isnāt a bad idea. Iām just cautious of putting āyet-another-thingā in our UI if itās not absolutely necessary āĀ but also understand that thereās something to be said about being super clear about indicatingĀ āhereās where you exitā.)
@darkwing @NotWoods A little update on this situation. Hiding the keyboard was intentional!
Quoting @Verdi #1211:
- Enter a search term
- Scroll the list of suggestions
Expected behavior
The keyboard should hide since I no longer need and it and it will let see more of the list.
It seems as if the only way to resolve this problem is not by keeping the keyboard always up, but by putting an extra back button in the UI, only on devices with no dedicated Back button.
@NotWoods Is there a way for us to only target these devices? For example, MIUI, Android 10. Note that certain variants of Android 10, like Samsung One UI, has a Back button.
We might be able to target just devices with gesture navigation turned on. Personally I think it would be fine to always show a back button, as Slack does on its search page:

@NotWoods I will run this idea through our UX team, and get back to you.
@NotWoods @darkwing A short, positive update to say that weāve reached a consensus of permanently showing the back button!
I will of course post the specs in comment 0 later. This is just a confirmation message to formalise our decision.
@NotWoods @darkwing Iāve updated comment 0 with specs, and have also highlighted changes made in the search screen UI.
For QA: please verify that the back button now appears and functions properly :)
Hi all,
Verified that the back button is displayed and functions on the latest Nightly build from 12/27 (#13610605) with Nexus 5 (Android 6.0.1), Nexus 6P (Android 8.1), OnePlus 5T (Android 9), and Google Pixel (Android Q).
However, after tapping on the back arrow, there is a flickery transition, for which I will file a new issue.