Skip to content

Commit

Permalink
Fixed web panels closing and inmediately opening again when clicking …
Browse files Browse the repository at this point in the history
…on the toolbar button (closes #4049) (#4035)
  • Loading branch information
mauro-balades committed Dec 29, 2024
1 parent 65e7a71 commit 1237bbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/base/zen-components/ZenSidebarManager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ class ZenBrowserManagerSidebar extends ZenDOMOperatedFeature {
'#zenWebPanelContextMenu',
'#zen-sidebar-web-panel-splitter',
'#contentAreaContextMenu',
'#zen-sidepanel-button',
].join(', ');
if (target.closest(closestSelector)) {
return;
Expand Down

0 comments on commit 1237bbe

Please sign in to comment.