Thanks for this great package.
I've been porting my app to Flutter web and have been having some animation and SVG rendering issues on Flutter Web on iOS.
Execute flutter run -d web-server --web-renderer canvaskit --web-port 8080 --web-hostname 0.0.0.0 --release on the sample repository
Open up the simulator or physical iphone and open up safari/chrome
Navigate to http://{ip-address):8080
Fiddle around the app
Devices
Issue tested & occurs on:
Iphone SE 2020 - iOS 15.4
Simulator iPhone SE & 13 - iOS 15.4
Happens on both Chrome and Safari (webkit issue?)
No issues found on Chrome on Android, Chrome/Safari (15.1) on Mac
Expected results:
App works like on Android or Flutter Web on Desktop.
Actual results:
Janky behaviour, after some time all animations in the app stop working. svg icons disappearing and appearing again
RefreshIndicator has some weird issues after some time, see the video below.
Additional notes:
When I remove the hero_icons package, (which has a dependency on flutter_svg) and use the flutter Icon and IconData class, the issue does not happen anymore hence why I think it's a flutter_svg problem.
Note that I've also tried the latest master branch of flutter_svg with the same results.
Icons can be found here.
Thanks for this great package. I've been porting my app to Flutter web and have been having some animation and SVG rendering issues on Flutter Web on iOS.
Steps to Reproduce
flutter run -d web-server --web-renderer canvaskit --web-port 8080 --web-hostname 0.0.0.0 --release
on the sample repositoryhttp://{ip-address):8080
Devices Issue tested & occurs on: Iphone SE 2020 - iOS 15.4 Simulator iPhone SE & 13 - iOS 15.4
Happens on both Chrome and Safari (webkit issue?)
No issues found on Chrome on Android, Chrome/Safari (15.1) on Mac
Expected results: App works like on Android or Flutter Web on Desktop.
Actual results: Janky behaviour, after some time all animations in the app stop working. svg icons disappearing and appearing again
RefreshIndicator
has some weird issues after some time, see the video below.Additional notes:
When I remove the
hero_icons
package, (which has a dependency on flutter_svg) and use the flutterIcon
andIconData
class, the issue does not happen anymore hence why I think it's aflutter_svg
problem. Note that I've also tried the latest master branch offlutter_svg
with the same results. Icons can be found here.Video example:
Logs:
Related issues
https://github.com/dnfield/flutter_svg/issues/603 https://github.com/dnfield/flutter_svg/issues/684