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

Sanity Studio dropdown z-index issue #6244

Closed
yuinchien opened this issue Apr 5, 2024 · 1 comment
Closed

Sanity Studio dropdown z-index issue #6244

yuinchien opened this issue Apr 5, 2024 · 1 comment

Comments

@yuinchien
Copy link

If you find a security vulnerability, do NOT open an issue. Email security@sanity.io instead.

Describe the bug
The multiple select dropdown is overlapped by UI underneath.
This is schema code:

defineField({
      name: 'subjects',
      title: 'Subjects',
      type: 'tags',
      options: {
        predefinedTags: POST_SUBJECTS,
        allowCreate: true,
        onCreate: (value: string) => ({
          label: value,
          value: value.toLowerCase().replace(/\W/g, '-'),
        }),
      },
    }),

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Dropdown menu has the highest z-index and not overlapped by other UI.

Screenshots
Screenshot 2024-04-05 at 8 57 49 AM
Screenshot 2024-04-05 at 8 57 55 AM

Which versions of Sanity are you using?
"sanity": "3.36.4",

Run sanity versions in the terminal and copy-paste the result here.

What operating system are you using?
MacOS

Which versions of Node.js / npm are you running?
10.4.0
v20.9.0

Additional context

Add any other context about the problem here.

Security issue?

Any security issues should be submitted directly to security@sanity.io. In order to determine whether you are dealing with a security issue, ask yourself these two questions:

  • Can I access something that's not mine, or something I shouldn't have access to?
  • Can I disable something for other people? If the answer to either of those two questions are "yes", then you're probably dealing with a security issue. Note that even if you answer "no" to both questions, you may still be dealing with a security issue, so if you're unsure, just email us at [security@sanity.io](mailto:security@sanity.io.
@kmelve
Copy link
Member

kmelve commented Apr 5, 2024

Thanks for reporting!

I wonder if this is a z-index bug in this third-party tags plugin:

We'll ask the maintainer if it's possible to publish a fix.

Closing this issue since it's not related to Sanity Studio as such.

@kmelve kmelve closed this as completed Apr 5, 2024
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

No branches or pull requests

2 participants