Closed joe4dev closed 2 years ago
This issue is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the main
branch, consider contributing a Pull Request with a fix.
If this is a feature request, and you feel that it is still relevant and valuable, consider contributing a Pull Request for review.
This issue will automatically close soon if no further activity occurs. Thank you for your contributions.
Describe the bug
The new unreleased slider widget has a
brightness
option underbackground
but the CSS propertybackdrop-filter: brightness(0.4)
is not supported (yet/by default) on Firefox (see browser compatibility matrix).To Reproduce
Display a slider widget with the background brightness option under the latest Firefox (both desktop and mobile)
Expected behavior
Background brightness should adjust like in Chrome (top) instead of ignoring the property in Firefox (below)
Technical details:
go.mod
): v5.0.0-20220303211751-d75dbe7f3d22hugo version
): v0.93.2Relevant code
Relevant source code: https://github.com/wowchemy/wowchemy-hugo-themes/blob/d75dbe7f3d2232ce7e4fb8c6e1f75d4db210b837/wowchemy/layouts/partials/widgets/slider.html#L35
Possible fixes
Conditionally fall back to the previous implementation for Firefox