ui
ui copied to clipboard
Error thrown when controlling the slider with keyboard.
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!