mirror of
https://github.com/zen-browser/desktop.git
synced 2026-06-13 15:03:41 +00:00
gh-14127: Fix search bar emptied after search engine selection (gh-14153)
fix #14127
This commit is contained in:
@@ -138,7 +138,7 @@ index d6615ec5a29f3e3327ac4171f3fc5d9a69bd09fe..c166b7de23c35716bf8c51b6b9c72f77
|
||||
|
||||
+ if (this._zenHandleUrlbarClose) {
|
||||
+ this._zenHandleUrlbarClose();
|
||||
+ } else if (!this._untrimmedValue || this.searchMode || this.window.gZenVerticalTabsManager._hasSetSingleToolbar) {
|
||||
+ } else if (!this._untrimmedValue || (this.#isAddressbar && (this.searchMode || this.window.gZenVerticalTabsManager._hasSetSingleToolbar))) {
|
||||
+ // Restore the current page URL when the urlbar is empty on blur
|
||||
+ this.window.requestAnimationFrame(() => {
|
||||
+ this.handleRevert();
|
||||
|
||||
Reference in New Issue
Block a user