Menu popovers not working in Sanity
I can see you're experiencing popover issues in Sanity Studio! Unfortunately, this is a pretty vague issue that could have several causes, so I'll cover the most common scenarios.
What "Menu Popover Issues" Usually Mean:
The most common problems people report are:
- Popovers not appearing at all
- Popovers being cut off or clipped by parent containers
- Popovers appearing in the wrong position
- Rendering glitches or visual artifacts
General Troubleshooting Steps:
Update your packages - Make sure you're running recent versions of
sanityand@sanity/ui. Many popover-related bugs have been fixed in recent releases:npm install sanity@latest @sanity/ui@latestCheck your browser console - Open DevTools and look for JavaScript errors or warnings when you try to open the popover. This often reveals the specific issue.
Clear browser cache - Sometimes cached CSS or JavaScript can cause rendering problems. Try a hard refresh (Ctrl+Shift+R or Cmd+Shift+R).
Test in a different browser - This helps identify if it's browser-specific.
If You're Using Custom CSS:
If you've added custom styles to your Studio, check for:
overflow: hiddenoroverflow: autoon parent containers (these can clip popovers)- Custom
z-indexvalues that might be covering popovers - CSS that overrides Sanity UI's default styles
If You're Building Custom Components:
If you're using Sanity UI components in custom plugins or input components, make sure you've wrapped your app with the ThemeProvider from @sanity/ui and that all peer dependencies are correctly installed.
Need More Specific Help:
Since your question is quite general, it would really help to know:
- What exactly happens when you try to use the popover? (Does nothing appear? Does it appear incorrectly?)
- Which menu/popover is having issues? (Document actions menu, field options, custom component?)
- Are there any errors in the browser console?
- What version of Sanity Studio are you running?
- Are you using any custom styling or plugins?
If you can share more details about the specific behavior you're seeing, the community can provide more targeted solutions!
Show original thread9 replies
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.