-
Notifications
You must be signed in to change notification settings - Fork 459
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
colorFilter not working in Flutter Web Apps on mobile devices with iOS 17.2 on Safari anymore #1079
Comments
I think this might be a change in Flutter 3.22 that broke it. Noticed the same issue after upgrading our project to latest Flutter SDK. |
@dnfield Should I open an issue in the flutter project or is this project the correct place for the bug? |
I'm seeing the same thing. It works as expected in desktop Chrome, but not on iOS web. |
I am also facing this issue, anyone knows the solution? |
Update: |
I managed to solve it with "ColorFiltered". That changes color in SVGs in web app
|
SvgPicture.asset(pathToAsset, colorFilter: ColorFilter.mode(Color(0xFFFF0000), BlendMode.srcIn));
... tints the asset red on iOS 15 on Safari on mobile devices but not when mobile device is running on safari on iOS17.2 it does not change the color.
The text was updated successfully, but these errors were encountered: