You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I use keyboard arrows to move slider, onAfterChange never gets triggered. Changing focus/pressing other keys does not help, the only way is to click the slider.
To Reproduce
click the slider
press left or right
observe if onAfterChange got triggered (not for me)
If required I'll try to build a small app that demonstrates this. The current app I'm working on is unfortunately not public yet.
Expected behavior
I guess postponing the afterChange events on keystrokes a bit is okay, but the event should eventually trigger. I guess either focus loss or timeout are good candidates to do that while limiting the rate; and I'd vote for triggering it after each keystroke (since keystrokes are usually ratelimited already).
If not, it might be nice to document this for the users (and preferably find a workarond, I guess detecting keyboard events from onChange could work?).
My Setup
This is a complete default react-bootstrap app with react-scripts. Dependencies are below, if it helps anything.
Describe the bug
If I use keyboard arrows to move slider,
onAfterChange
never gets triggered. Changing focus/pressing other keys does not help, the only way is to click the slider.To Reproduce
If required I'll try to build a small app that demonstrates this. The current app I'm working on is unfortunately not public yet.
Expected behavior
I guess postponing the afterChange events on keystrokes a bit is okay, but the event should eventually trigger. I guess either focus loss or timeout are good candidates to do that while limiting the rate; and I'd vote for triggering it after each keystroke (since keystrokes are usually ratelimited already).
If not, it might be nice to document this for the users (and preferably find a workarond, I guess detecting keyboard events from
onChange
could work?).My Setup
This is a complete default react-bootstrap app with react-scripts. Dependencies are below, if it helps anything.
Please let me know in case any further info is needed.
Thanks for all the sliders! :]
-mk
The text was updated successfully, but these errors were encountered: