Sidebar stays on top when you switch apps
Problem
You switch from your browser to another app, like a text editor. The browser goes behind it as expected, but the sidebar keeps floating on top and covers part of the app.
Cause
What the sidebar does when you leave the browser depends on your Browser Integration mode.
| Mode | When you switch to a non-browser app |
|---|---|
| Smart Attach (default) | Drops behind the app, comes back to the front with your browser |
| Independent | Stays on top of every app |
In either mode, When Leaving Browser set to Hide hides the sidebar instead. That setting only shows up while Auto Show on Browser Focus is on.
So the sidebar stays on top when it uses Independent and isn’t set to hide when you leave the browser.
Solution
Pick the fix that matches how you work.
Let other apps cover the sidebar
- Open Preferences → Sidebar → Browser Integration.
- Set Sidebar Browser Integration to Smart Attach.
- Switch from your browser to another app. The sidebar drops behind it.
The sidebar comes back to the front when you return to your browser. Smart Attach also places the sidebar next to your browser window. See Smart Attach.
Hide the sidebar when you leave the browser
- Open Preferences → Sidebar → Show and Hide.
- Under Auto-Visibility, turn on Auto Show on Browser Focus.
- Set When Leaving Browser to Hide.
The sidebar now opens with your browser and hides when you switch to another app. This works with both Smart Attach and Independent.
Still on top?
| Issue | Why | Fix |
|---|---|---|
| It stays open in Finder | Keep Showing in Finder is on by default | Turn off Keep Showing in Finder under When Leaving Browser |
| You opened it with a shortcut outside a browser (Independent) | It only hides after a browser has owned it | Close it with Cmd Shift Space |
Learn more
- Browser Integration - Smart Attach and Independent modes
- Sidebar doesn’t auto-hide in browsers - The other side of auto-hide
- Sidebar Panel - All sidebar visibility settings