radix-vue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
3.51k stars 203 forks source link

[Bug]: Dialogs within Dropdowns will always auto close #585

Closed darthmeme closed 4 weeks ago

darthmeme commented 1 month ago

Reproduction

https://stackblitz.com/edit/9fzcfm

Describe the bug

In the example, "Profile" triggers a dropdown to open. As soon as it does, it closes

System Info

System:
    OS: macOS 14.4.1
    CPU: (12) arm64 Apple M2 Pro
    Memory: 52.11 MB / 16.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 18.19.1 - ~/.local/share/nvm/v18.19.1/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.2.4 - ~/.local/share/nvm/v18.19.1/bin/npm
  Browsers:
    Chrome: 125.0.6422.113
    Edge: 125.0.2535.79
    Safari: 17.4.1
  npmPackages:
    @vueuse/core: ^10.9.0 => 10.9.0 
    radix-vue: ^1.8.1 => 1.8.1 
    vue: ^3.4.21 => 3.4.21

Contributes

darthmeme commented 4 weeks ago

Solved with https://github.com/radix-ui/primitives/issues/1836