Why is the safari dropdown menu rendering behind the tabs?


The safari menu dropdown is rendering behind the tabs?


Full screen Safari Version 18.0 (20619.1.26.31.6) macOS 15.0 (24A335) on Studio Display

MacBook Pro 14″

Posted on Sep 25, 2024 1:49 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 25, 2024 1:59 PM

This shouldnt be an issue. Let try to resolve this.


1. Restart Safari


First off, the easiest thing to try is restarting Safari. Just close it and open it again. You’d be surprised how often this clears up minor glitches.


2. Disable Safari Extensions


Sometimes, extensions can mess with how Safari renders content. To see if that’s the problem:

  • Open Safari, head to Settings, then click on Extensions.
  • Turn off all your extensions and see if things improve.


If you prefer using the Terminal, you can disable all Safari extensions with this command:


defaults write com.apple.Safari ExtensionsEnabled -bool false


3. Clear Safari Cache


Corrupt cache files are another common culprit for display issues. Resetting Safari's cache might do the trick. Here's how you can do that via Terminal:


rm -rf ~/Library/Caches/com.apple.Safari


Once you’ve done that, restart Safari and see if things are back to normal.


4. Check for Updates (Safari and macOS)


Keeping your system up to date is always a good idea. You can check for any updates by using the macOS Software Update tool or running this command in Terminal to check for updates:



softwareupdate -l


If there are updates available, install them with:


sudo softwareupdate -i -a

5. Adjust Full-Screen Settings


Sometimes, the issue is tied to full-screen mode. To reset this, just press Control + Command + F to toggle full-screen on and off. Simple, but effective!


6. Reset NVRAM/PRAM


Your Mac stores some important display settings in NVRAM (Non-Volatile RAM), which could be causing the issue. To reset this:


  • Restart your Mac, then hold down Option + Command + P + R until you hear the startup chime twice. This will reset the NVRAM.


7. Clear Safari Preferences


If your Safari preferences are corrupted, resetting them might help. You can reset Safari’s preferences via


Terminal:


defaults delete com.apple.Safari


8. Disable Safari Full-Screen Animation


Sometimes, Safari’s full-screen animation can cause glitches. To turn off the animation, enter this command in


Terminal:


defaults write com.apple.Safari NSWindowResizeTime -float 0.001


9. Adjust Display Scaling


If you're using a Studio Display, the issue might stem from display scaling. You can try adjusting the scaling or resolution by going to System Settings > Displays and tweaking the settings there.


10. Refresh Core Services


Another thing to try is refreshing macOS core services, like the WindowServer, which manages the display. Use this Terminal command to force a refresh:


sudo killall WindowServer


This will restart the window manager, which could resolve any layering or display issues you're seeing.


11. Reinstall Safari (Indirect)


You can’t directly uninstall Safari, but you can reinstall macOS without losing your data, which will also reinstall Safari. To do this:


  • Restart your Mac and hold down Command + R to boot into Recovery Mode.
  • Select Reinstall macOS and follow the instructions.


12. Check System Logs


If none of the above helps, you might want to check your system logs for any Safari-related errors. You can use this Terminal command to view the logs:



log show --predicate 'eventMessage contains "Safari"' --info


13. Submit a Bug Report


Still having trouble? It could be a bug, and in that case, it's best to report it directly to Apple. You can submit feedback via Apple Feedback.

1 reply
Question marked as Top-ranking reply

Sep 25, 2024 1:59 PM in response to DavidSouther

This shouldnt be an issue. Let try to resolve this.


1. Restart Safari


First off, the easiest thing to try is restarting Safari. Just close it and open it again. You’d be surprised how often this clears up minor glitches.


2. Disable Safari Extensions


Sometimes, extensions can mess with how Safari renders content. To see if that’s the problem:

  • Open Safari, head to Settings, then click on Extensions.
  • Turn off all your extensions and see if things improve.


If you prefer using the Terminal, you can disable all Safari extensions with this command:


defaults write com.apple.Safari ExtensionsEnabled -bool false


3. Clear Safari Cache


Corrupt cache files are another common culprit for display issues. Resetting Safari's cache might do the trick. Here's how you can do that via Terminal:


rm -rf ~/Library/Caches/com.apple.Safari


Once you’ve done that, restart Safari and see if things are back to normal.


4. Check for Updates (Safari and macOS)


Keeping your system up to date is always a good idea. You can check for any updates by using the macOS Software Update tool or running this command in Terminal to check for updates:



softwareupdate -l


If there are updates available, install them with:


sudo softwareupdate -i -a

5. Adjust Full-Screen Settings


Sometimes, the issue is tied to full-screen mode. To reset this, just press Control + Command + F to toggle full-screen on and off. Simple, but effective!


6. Reset NVRAM/PRAM


Your Mac stores some important display settings in NVRAM (Non-Volatile RAM), which could be causing the issue. To reset this:


  • Restart your Mac, then hold down Option + Command + P + R until you hear the startup chime twice. This will reset the NVRAM.


7. Clear Safari Preferences


If your Safari preferences are corrupted, resetting them might help. You can reset Safari’s preferences via


Terminal:


defaults delete com.apple.Safari


8. Disable Safari Full-Screen Animation


Sometimes, Safari’s full-screen animation can cause glitches. To turn off the animation, enter this command in


Terminal:


defaults write com.apple.Safari NSWindowResizeTime -float 0.001


9. Adjust Display Scaling


If you're using a Studio Display, the issue might stem from display scaling. You can try adjusting the scaling or resolution by going to System Settings > Displays and tweaking the settings there.


10. Refresh Core Services


Another thing to try is refreshing macOS core services, like the WindowServer, which manages the display. Use this Terminal command to force a refresh:


sudo killall WindowServer


This will restart the window manager, which could resolve any layering or display issues you're seeing.


11. Reinstall Safari (Indirect)


You can’t directly uninstall Safari, but you can reinstall macOS without losing your data, which will also reinstall Safari. To do this:


  • Restart your Mac and hold down Command + R to boot into Recovery Mode.
  • Select Reinstall macOS and follow the instructions.


12. Check System Logs


If none of the above helps, you might want to check your system logs for any Safari-related errors. You can use this Terminal command to view the logs:



log show --predicate 'eventMessage contains "Safari"' --info


13. Submit a Bug Report


Still having trouble? It could be a bug, and in that case, it's best to report it directly to Apple. You can submit feedback via Apple Feedback.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why is the safari dropdown menu rendering behind the tabs?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.