Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Studio UI menus broken/empty in Dev #6688

Closed
mdillgen opened this issue May 16, 2024 · 1 comment · Fixed by #6717
Closed

All Studio UI menus broken/empty in Dev #6688

mdillgen opened this issue May 16, 2024 · 1 comment · Fixed by #6717

Comments

@mdillgen
Copy link

mdillgen commented May 16, 2024

Describe the bug

When running in development (npm run dev) the Studio UI Menus are empty!

To Reproduce

Steps to reproduce the behavior:

  1. Run dev server
  2. Login to Studio
  3. Click on User Menu Avatar, Filter, Create new… etc.
  4. See empty menu

Reproduction repo:
https://github.com/mdillgen/template-nextjs-personal-website.git

Screenshots
Bildschirmfoto 2024-05-16 um 09 11 55
Bildschirmfoto 2024-05-16 um 11 54 24

Which versions of Sanity are you using?

@sanity/demo                 2.0.0 (up to date)
@sanity/icons               2.11.8 (up to date)
@sanity/image-url            1.0.2 (up to date)
@sanity/preview-url-secret  1.6.13 (up to date)
@sanity/react-loader        1.9.19 (up to date)
@sanity/ui                   2.1.8 (up to date)
@sanity/vision              3.42.1 (up to date)
sanity                      3.42.1 (up to date)

What operating system are you using?
Mac OS
Which versions of Node.js / npm are you running?

Run npm -v && node -v in the terminal and copy-paste the result here.

10.1.0
v20.9.0
@mdillgen mdillgen changed the title User Menu empty in Developemnt All Studio UI menus broken/empty in Dev May 16, 2024
@filipjohnsen
Copy link

Having the same issue, adding these styles to my studio fixed the issue for me.

[data-ui="versionMenu"],
[data-ui="MenuButton__popover"],
[data-ui="Popover"] {
  opacity: 1 !important;
  --motion-content-opacity: 1 !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants