Closed bsteinbk closed 3 years ago
Slider Thumb is not retaining its focus when value changed via keyboard.
A thumb is focused user should be able to adjust value by pressing arrow key multiple times.
export const ProcessChange: Story<Partial<SliderProps>> = (args) => { const [sliderValues, setSliderValues] = React.useState([20, 40]); return ( <Slider {...args} values={sliderValues} onChange={(values) => setSliderValues([...values])} /> ); }; ProcessChange.args = { min: 0, max: 60, tickLabels: ['0', '20', '40', '60'], tooltipProps: (index, val) => { return { placement: 'right', content: `\$${val}.00` }; }, };
See proposed fix in https://github.com/iTwin/iTwinUI-react/pull/232
This is now available in 1.14.0 🎉
Slider Thumb is not retaining its focus when value changed via keyboard.
Describe the bug (actual behavior)
Expected behavior
A thumb is focused user should be able to adjust value by pressing arrow key multiple times.
Reproduction
Steps to reproduce
Additional information
See proposed fix in https://github.com/iTwin/iTwinUI-react/pull/232