unovue / radix-vue

Vue port of Radix UI Primitives. An open-source UI component library for building high-quality, accessible design systems and web apps.
https://radix-vue.com
MIT License
3.71k stars 231 forks source link

[Bug]: Select not working with SelectArrow #1397

Closed takusea closed 4 weeks ago

takusea commented 4 weeks ago

Environment

Developement/Production OS: Windows 11 26100
Node version: 20.12.2
Package manager: npm@10.5.0
Radix Vue version: 1.9.6
Vue version: 3.5.11
CSS framework: sass@1.77.8
Browser: Chrome 124.0.6367.60/Electron 30.0.1

Link to minimal reproduction

https://stackblitz.com/edit/ylgfqc?file=src%2FApp.vue

Steps to reproduce

Click SelectTrigger component.

Describe the bug

The following console error occurs:

radix-vue.js?v=c15b4b85:3366 Uncaught (in promise) Error: Injection `Symbol(SelectContentContext)` not found. Component must be used within `SelectContent`

And SelectContent is not opened.

When I removed SelectArrow and launched Preview, it worked fine.

Expected behavior

No response

Context & Screenshots (if applicable)

No response