🐛 Fix invisible filter dropdown values in Firefox #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "oss-helper-2026/v2-web:fix/40-firefox-select-option-contrast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #40
Problem
On Firefox (reported on Windows 10, Firefox 136), the values inside the footer filter dropdowns Category and Android version are invisible once the list is opened. The same lists render correctly in Chromium.
Root cause
src/index.htmldeclares:root { color-scheme: dark }and<body class="uk-light uk-background-secondary">, so native controls get a dark surface..uk-select(translucent background, light text), but its base rule.uk-select:not([multiple]):not([size]) option { color: #666 }remains and no option background is defined.color-schemesurface, so the#666option text ends up dark-on-dark (near-invisible). Chromium paints its own high-contrast popup surface, which is why it was unaffected.Fix
Give the footer's listbox options an explicit foreground/background matching the app's dark theme, using a selector at least as specific as UIkit's base rule:
CSS-only, single file (
src/components/AppFooter.vue); no behavior or markup change.Verification
masterlocally (yarn start, production API): Firefox computes the dropdown options asrgb(102,102,102)on a dark surface — low contrast; Chromium paints its own surface and looks fine.rgb(240,240,240)onrgb(34,34,34)in both Firefox and Chromium; the native Firefox listbox shows every value clearly (screenshots attached via follow-up comment).yarn buildsucceeds; the rule is present in the built CSS bundle.Impact
color-scheme: darkfor native popups (notably Firefox) gets readable options instead of an empty-looking list.Verification screenshots
Native Firefox dropdown ("Android version" filter, dark surface) before / after this change:
Before — option text computed as

rgb(102,102,102)on a dark listbox, nearly invisible:After — options compute as

rgb(240,240,240)onrgb(34,34,34), every value readable:Screenshots are kept on the PR branch under
docs/screenshots/as evidence (can be removed before merge). Reproduced locally with the dev server against the production API;yarn buildpasses.(Replaces an earlier comment whose image attachments failed to render due to an instance storage issue.)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.