fix: closes #7605 - Fixed compact mode not focusing on the urlbar on startup, r=common

This commit is contained in:
mr. m
2025-04-16 10:56:35 +02:00
parent db3f1a7c09
commit 5d346205fc

View File

@@ -66,6 +66,11 @@
// A bit of a hack to make sure the tabs toolbar is updated.
// Just in case we didn't get the right size.
gZenUIManager.updateTabsToolbar();
// Fix for https://github.com/zen-browser/desktop/issues/7605, specially in compact mode
if (gURLBar.hasAttribute('breakout-extend')) {
gURLBar.focus();
}
}, 100);
}, 0);
this.closeWatermark();