mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-29 18:01:31 +00:00
no-bug: Prevent active attribute from being set when a popup opens (gh-13695)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
diff --git a/toolkit/content/widgets/panel.js b/toolkit/content/widgets/panel.js
|
||||
index dc3e34847f1b6dfd58f5e036fd7d714ef51c1380..e88ab308c5eba01ccf82a0d1b9477555fcb9a5de 100644
|
||||
index dc3e34847f1b6dfd58f5e036fd7d714ef51c1380..20f18fcb1a2f637d83366b8a517d43200270739f 100644
|
||||
--- a/toolkit/content/widgets/panel.js
|
||||
+++ b/toolkit/content/widgets/panel.js
|
||||
@@ -136,7 +136,19 @@
|
||||
@@ -7,7 +7,7 @@ index dc3e34847f1b6dfd58f5e036fd7d714ef51c1380..e88ab308c5eba01ccf82a0d1b9477555
|
||||
this.anchorNode.closest("toolbarbutton, .anchor-root") ||
|
||||
this.anchorNode;
|
||||
+ let toolbox = anchorRoot.closest("#navigator-toolbox");
|
||||
+ if (toolbox) {
|
||||
+ if (toolbox && toolbox.ownerGlobal.gZenCompactModeManager?.preference) {
|
||||
+ // Disable transitions for now, see gh-11667
|
||||
+ toolbox.style.transition = "none";
|
||||
+ toolbox.setAttribute("zen-compact-mode-active", "true");
|
||||
|
||||
Reference in New Issue
Block a user