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

[Bug]: DropdownMenuPortal doesnt include in Dropdown Component #99

Closed
sabiqhasby opened this issue Oct 5, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@sabiqhasby
Copy link

sabiqhasby commented Oct 5, 2023

Environment

Developement/Production OS: Windows 11
Node version: 18.12.1
Package manager: yarn@1.22.19
Radix Vue version: 0.4.1
Shadcn Vue version: 0.3.0
Nuxt version: 3.7.4
CSS framework: tailwindcss@3.3.2
Client OS: Windows 11
Browser: Chrome 117.0.5938.149

Link to minimal reproduction

https://www.shadcn-vue.com/docs/components/dropdown-menu.html

Steps to reproduce

installation using 'npx shadcn-vue@latest add dropdown-menu'

Describe the bug

Hello, I'm using Dropdown Menu component.
I was trying to make sub menu content in Dropdown Menu. I was following exactly like the Shadcn-vue Docs. But something is missing. There is no DropdownMenuPortal in installation.

image

in Documentation Shadcn:
image

Expected behavior

No response

Conext & Screenshots (if applicable)

No response

@sabiqhasby sabiqhasby added the bug Something isn't working label Oct 5, 2023
@zernonia
Copy link
Contributor

zernonia commented Oct 5, 2023

It should be exported here right? directly from radix-vue

image

@sabiqhasby
Copy link
Author

Finally, thanks @zernonia.
Because I use autoimport from Nuxt. So DropdownMenuPortal need to import manually from '@/components/ui/dropdown-menu'.

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

2 participants