first slider specify both, second only max is specified.
const freq_steps = [
{ value: 0, label: "A" },
...
{ value: 4, label: "E", isLabelHidden: true },
{ value: 5, label: "F" }
];
...
// labels are shown, but max is ignored
<Slider
onChange={onChangeFrequency}
value={frequencyOfTask}
max={5}
showTicks
customSteps={freq_steps}
/>
// max is set correct, but no labels
<Slider
onChange={onChangeFrequency}
value={frequencyOfTask}
max={5}
showTicks
/>
In Slider, specifying
maxlower then100andcustomStepswill not show as intended.first slider specify both, second only max is specified.
https://codesandbox.io/s/hopeful-nash-38mnu?file=/index.js