Skip to content

[bug]: broken dropdown transform in tauri #7433

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

Open
2 tasks done
christojeffrey opened this issue May 20, 2025 · 0 comments
Open
2 tasks done

[bug]: broken dropdown transform in tauri #7433

christojeffrey opened this issue May 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@christojeffrey
Copy link

Describe the bug

This overlay/pop up is not showing up on Tauri + vite

Image


Great project btw 👍

Affected component/components

Dropdown

How to reproduce

  1. Setup Tauri using vite and react
  2. add shadcn/ui, add block dashboard-01
  3. Try clicking the nav-user(bottom left) The content doesn't show up. The click is registered, and the scroll disappear, but the overlay is not showing

note:
only broken in Tauri. Tested using vite outside of Tauri, works


Solution:
either add forwardRef in the <Content> part or wrap using <div>
something like this
Image

reference


I was trying to create the PR directly but I can't get the development env running in my local machine.
based on CONTRIBUTING.md
running pnpm www:dev then heading to /block resulted in

Generated 86 documents in .contentlayer
 ✓ Ready in 2.3s
 ○ Compiling /blocks ...
 ⨯ ./lib/registry.ts:5:1
Module not found: Can't resolve 'shadcn/registry'
  3 | import path from "path"
  4 | import { Index } from "@/__registry__"
> 5 | import { registryItemFileSchema, registryItemSchema } from "shadcn/registry"
    | ^
  6 | import { Project, ScriptKind, SourceFile, SyntaxKind } from "ts-morph"
  7 | import { z } from "zod"
  8 | //rusak

https://nextjs.org/docs/messages/module-not-found

Codesandbox/StackBlitz link

No response

Logs

System Info

MacOS
Tested on Chromium (Chrome, Arc) and Firefox

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@christojeffrey christojeffrey added the bug Something isn't working label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant