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

closeOnItemClick doesn't work for context menu #420

Closed
Fabian9799 opened this issue Mar 26, 2024 · 0 comments · Fixed by #421
Closed

closeOnItemClick doesn't work for context menu #420

Fabian9799 opened this issue Mar 26, 2024 · 0 comments · Fixed by #421

Comments

@Fabian9799
Copy link

Describe the bug

Setting closeOnItemClick={false} on ContextMenu.Root doesn't apply and still closes the context menu if I click on an item

Reproduction

https://www.sveltelab.dev/nfifqap1khey0dv

Logs

No response

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 8.73 GB / 31.93 GB
  Binaries:
    Node: 20.11.1 - ~\AppData\Local\pnpm\node.EXE
    Yarn: 1.10.1 - D:\programme\yarn\bin\yarn.CMD
    npm: 10.2.4 - ~\AppData\Local\pnpm\npm.CMD
    pnpm: 8.15.5 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (122.0.2365.92)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.5.2 
    bits-ui: ^0.21.0 => 0.21.0 
    svelte: ^4.2.7 => 4.2.12

Severity

annoyance

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

Successfully merging a pull request may close this issue.

1 participant