From 6c52c6ecf2c8da7156a44fe5f0eccbf85f7c4d71 Mon Sep 17 00:00:00 2001 From: GokulVenkat Date: Fri, 22 Nov 2024 10:27:49 +0530 Subject: [PATCH] bug fixed when tap on the outside removed keyboard in search bar in HistoryPanel --- .../Client/Frontend/Library/HistoryPanel/HistoryPanel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firefox-ios/Client/Frontend/Library/HistoryPanel/HistoryPanel.swift b/firefox-ios/Client/Frontend/Library/HistoryPanel/HistoryPanel.swift index 08617d5d8576..1cae64b5276b 100644 --- a/firefox-ios/Client/Frontend/Library/HistoryPanel/HistoryPanel.swift +++ b/firefox-ios/Client/Frontend/Library/HistoryPanel/HistoryPanel.swift @@ -876,7 +876,7 @@ extension HistoryPanel { private func removedSearchBarWhenTapOutside(_ sender: UITapGestureRecognizer) { if !bottomStackView.isHidden && !bottomStackView.frame.contains(sender.location(in: view)) { bottomStackView.isHidden = true - bottomStackView.resignFirstResponder() + searchbar.resignFirstResponder() } }