You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edge/Chrome recently changed the way the default color-scheme works for websites root scrollbars. If a user has dark mode enabled and the site doesn't specify a color-scheme in the CSS then dark mode will be used for the root scrollbars.
To avoid this I think we should add color-scheme: light at the top of the :root, [data-bs-theme=light]
Reduced test cases
You can see this by going to: https://getbootstrap.com/ (if you have OS-set dark mode and switch theme to light).
Note the dark scrollbar. Tested on Chrome 125 and Edge 125 on Windows 11 Pro.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Microsoft Edge
What version of Bootstrap are you using?
v5.3.3
The text was updated successfully, but these errors were encountered:
coliff
changed the title
Chrome/Edge default color-scheme
Chrome/Edge default color-scheme scroolbars
May 21, 2024
Prerequisites
Describe the issue
Edge/Chrome recently changed the way the default color-scheme works for websites root scrollbars. If a user has dark mode enabled and the site doesn't specify a color-scheme in the CSS then dark mode will be used for the root scrollbars.
REF: https://developer.chrome.com/release-notes/125#used_color_scheme_root_scrollbars
To avoid this I think we should add
color-scheme: light
at the top of the:root, [data-bs-theme=light]
Reduced test cases
You can see this by going to: https://getbootstrap.com/ (if you have OS-set dark mode and switch theme to light).
Note the dark scrollbar. Tested on Chrome 125 and Edge 125 on Windows 11 Pro.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Microsoft Edge
What version of Bootstrap are you using?
v5.3.3
The text was updated successfully, but these errors were encountered: