I have a <select> element. And I've set the color theme on the <html> element using data-bs-theme attribute.
In desktop browsers (Chrome, Edge, Safari, Firefox) the <select> is displayed correctly:
✅dark theme - dark <select>'s menu
✅light theme - light <select>'s menu
In mobile browsers (Chrome, Safari, Firefox) the menu of the <select> element seems to always be drawn according to the system's color theme, completely ignoring the data-bs-theme setting:
✅dark theme - dark <select>'s menu
❌light theme - dark<select>'s menu
I'm wondering if it can be fixed, or if it's the limitation of the browsers that cannot be overcome.
If latter, then it would be useful to have the [documentation on color modes](https://getbootstrap.com/docs/5.3/customize/color-modes/) stating this limitation - save developers the trouble of figuring this out and preventing situations similar to the described one from happening in the first place🙌
### Reduced test cases
1. Add `
Prerequisites
Describe the issue
I have a
<select>
element. And I've set the color theme on the<html>
element usingdata-bs-theme
attribute.In desktop browsers (Chrome, Edge, Safari, Firefox) the
<select>
is displayed correctly: ✅dark theme - dark<select>
's menu ✅light theme - light<select>
's menuIn mobile browsers (Chrome, Safari, Firefox) the menu of the
<select>
element seems to always be drawn according to the system's color theme, completely ignoring thedata-bs-theme
setting: ✅dark theme - dark<select>
's menu ❌light theme - dark<select>
's menu