Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range form element track background is practically invisible on a white background #38999

Closed
3 tasks done
sallen-wiley opened this issue Aug 3, 2023 · 4 comments · Fixed by #39095
Closed
3 tasks done

Comments

@sallen-wiley
Copy link

sallen-wiley commented Aug 3, 2023

Prerequisites

Describe the issue

The range form element track is practically invisible on most of the screens I have tested. It uses the tertiary background colour which on a white background is very difficult to see.

$form-range-track-bg: var(--#{$prefix}tertiary-bg);

Contrast check

This can be a user experience issue because at first glance, it just looks like a floating circle and the extent of the range cannot be seen.

Reduced test cases

https://codepen.io/sallen/pen/NWeKjpB

What operating system(s) are you seeing the problem on?

Windows, macOS, Android, iOS, Linux

What browser(s) are you seeing the problem on?

Chrome, Safari, Firefox

What version of Bootstrap are you using?

v5.3

@mdo mdo added the css label Aug 5, 2023
@mr-molecule
Copy link

Hi Folks,

Kindly Assign this issue to me, I am a beginner but i will try to solve this issue

@JOKER-ADitya
Copy link

bootstrap1

it looks fine

@sallen-wiley
Copy link
Author

bootstrap1

it looks fine

That isn't how it looks on bootstrap's docs or in the reduced test case - perhaps you are overwriting the styles or using a different setup?

This is how it looks for me across my devices on the bootstrap docs and in the reduced test case:

image

@boutetnico
Copy link

Workaround using pre 5.3 method:

$form-range-track-bg: $gray-300;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants