mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.24k stars 2.94k forks source link

Add a check to isEditing before requesting to close keyboard prior to showing the search engine selection overlay #23169

Closed data-sync-user closed 3 days ago

data-sync-user commented 6 days ago

We can reduce the amount of extra actions we call (unnecessarily) if we add an isEditing check prior to dispatching the hideKeyboard action in the BrowserCoordinator when showing the search engine selection view controller. We only need to hide the keyboard when the user is editing the toolbar. Refactors the solution for https://mozilla-hub.atlassian.net/browse/FXIOS-10491

┆Issue is synchronized with this Jira Task