The RangeSlider component has a couple of styling issues.
- When the slider is near other components, the "current number popup" above the slider overlaps items above it on the screen
- When the slider is placed on certain layouts, it causes horizontal scroll to occur. It can be seen on the storybook for the slider control specifically but not when you demonstrate it within a form on the storybook, it is worse when placed on modals.
Steps to reproduce
- Please a few fields on a form
- Ensure a
<RangeSlider /> is below another item
- See label overlapping
Minimal reproduction
Overlapping label:
Storybook - https://storybook.design-system.navy.digital.mod.uk/?path=/docs/forms-usage-formik--docs
Horizontal scrolling:
Storybook - https://storybook.design-system.navy.digital.mod.uk/?path=/story/components-range-slider--default&args=domain[1]:12;hasMarkers:!true;hasLabels:!true;isDisabled:!false
Screenshot

The
RangeSlidercomponent has a couple of styling issues.Steps to reproduce
<RangeSlider />is below another itemMinimal reproduction
Overlapping label:
Storybook - https://storybook.design-system.navy.digital.mod.uk/?path=/docs/forms-usage-formik--docs
Horizontal scrolling:
Storybook - https://storybook.design-system.navy.digital.mod.uk/?path=/story/components-range-slider--default&args=domain[1]:12;hasMarkers:!true;hasLabels:!true;isDisabled:!false
Screenshot