radix-ui / design-system

Design system that was used by @modulz. It’s now archived and superceded by Radix Themes. (See https://github.com/radix-ui/themes)
https://design-system.modulz-deploys.com/
MIT License
2.27k stars 177 forks source link

Bug: Slider range not perfectly aligned with the track #388

Closed Horsetoast closed 7 months ago

Horsetoast commented 7 months ago

The Slider component has a small visual issue. When the track is close to the left side, the right edge of the range bar appears before the left edge of the range track. This issue is only visible when the slider height is a bit bigger, so I increased the height in the radix example to showcase the problem

Here is where the problem is visible:

Screenshot 2023-12-19 at 11 31 01

When the track is closer to the right side, the range and track looks aligned (as it should be):

Screenshot 2023-12-19 at 11 31 10
vladmoroz commented 7 months ago

This is a duplicate of https://github.com/radix-ui/primitives/issues/1966, please refer to that issue