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

Chore: fix Home overview section to show a transparent background color on IOS #1542

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thisisobate
Copy link

Fixes #1537

…or on IOS

Signed-off-by: thisisobate <obasiuche62@gmail.com>
@thisisobate
Copy link
Author

thisisobate commented Jan 4, 2024

I just realized the issue isn't with the linear gradient not supported on MacOS.
The real problem is that background-blend-mode css property is not supported on IOS. See here: https://stackoverflow.com/questions/35452263/css-a-background-blend-mode-fallback-for-iphone-safari

As a fallback, I'm considering disabling the background-blend-mode property and setting the background image to a linear gradient instead. This would only apply to mobile and tablet displays across all browsers.

How did I arrive at my current solution?

The idea is to prioritize usability over aesthetics.

I considered setting the background not to repeat as the stackoverflow article suggests but that didn't work in my case. Another option I considered was to set an overlay over the background image and tweak the opacity a bit but that did not give me a very desirable result UX wise.

Hope this helps!

Signed-off-by: thisisobate <obasiuche62@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Home overview section is showing a transparent background color on IOS
1 participant