ui icon indicating copy to clipboard operation
ui copied to clipboard

Error thrown when controlling the slider with keyboard.

Open mrbjjackson opened this issue 2 years ago • 0 comments

I was seeing some strange behaviour when testing accessibility on my NextJs app. It has a ShadCN / Radix UI Slider component and I was getting multiple simultaneous database calls when I controlled the slider with my keyboard.

I've stripped out everything in my app except for the slider component and you can see an error is thrown when using the slider with a keyboard. I assume this is what is causing my error. It all works fine when using the mouse.

I've reproduced this in a minimal build found here: Minimal reproduction of ShadCN Slider error

Any help would be much appreciated. Thanks!

mrbjjackson avatar Oct 06 '23 18:10 mrbjjackson