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

RadioGroup.Root - onValueChange event gets triggered in a loop #938

Closed
ctiospl opened this issue Nov 17, 2024 · 0 comments
Closed

RadioGroup.Root - onValueChange event gets triggered in a loop #938

ctiospl opened this issue Nov 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ctiospl
Copy link

ctiospl commented Nov 17, 2024

Describe the bug

While using bits-ui 1.0.0-next.58, the onValueChange change event gets triggered a loop.
If I trigger an alert dialog in the onChangeValue it goes into a loop.

Reproduction

https://stackblitz.com/edit/vitejs-vite-pumgpr

Logs

No response

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    bits-ui: 1.0.0-next.58 => 1.0.0-next.58 
    svelte: ^5.1.13 => 5.2.2

Severity

blocking an upgrade

@huntabyte huntabyte added the bug Something isn't working label Nov 17, 2024
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