Open TabooSun opened 1 year ago
Hi @TabooSun, is this issue only with the chrome browser on iOS, or are you experiencing it with other browsers on iOS as well?
Can you also test on the master
channel to see if this issue reproduces there?
It happens only in chrome browser on iOS, tried with Safari & Firefox, don't have such issue.
I tested all the above on master
channel.
Hi @TabooSun, I want to confirm something, did this reproduce when you built the webapp using the canvaskit
renderer? Or did it reproduce only with the HTML renderer? (This is the default for mobile when you don't specify a renderer).
I didn't specify any renderer when I build, so it's auto.
Hi @TabooSun, can you confirm if it reproduces when you use the canvaskit renderer? I cannot seem to reproduce it on my end
It never happened to me with canvaskit
renderer, hence, this is how I did to my company project where I used canvaskit
renderer to build for all the target platforms.
The reason I open this issue is to seek a fix for html
renderer on Chrome iOS .
I can reproduce the issue on the latest master and stable versions. I tested on the following browsers
Only Chrome exhibited this issue. See the recording below
This issue did not reproduce when the canvaskit
renderer was used.
This can also be done with the hosted version of flutter gallery.
Issue context
Similar to https://github.com/flutter/flutter/issues/92655 but it was closed by the author but I am still facing it in Flutter 3.3.10.
I used the Flutter Gallery Web App for testing and it can still be reproduced. Simply just drop this link in the iOS Note app and press the link to launch it up in Google Chrome. It works fine for the first time but if you launch it for the second time this issue occurs.
I tried forking and cloning the Flutter Gallery project and running it; the issue can still be reproduced. Here is my fork: https://github.com/TabooSun/Flutter.gallery/tree/2.9.3.
Steps to Reproduce
Flutter Gallery Screen Recording
https://user-images.githubusercontent.com/31196825/212858202-fb31658d-fecd-4d72-a9e3-b2cba3ec11d7.mp4
Built Screen Recording
https://user-images.githubusercontent.com/31196825/212858476-beffaf92-80dc-4e27-82d5-ee692520c3f4.mp4
Logs
``` flutter doctor -v [✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale zh-Hans-MY) • Flutter version 3.3.10 on channel stable at /Users/taboosun/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 135454af32 (5 weeks ago), 2022-12-15 07:36:55 -0800 • Engine revision 3316dd8728 • Dart version 2.18.6 • DevTools version 2.15.0 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/taboosun/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = /Users/taboosun/Library/Android/sdk • Java binary at: /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14C18 • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (version 2022.1) • Android Studio at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio. [✓] Android Studio (version 2021.3) • Android Studio at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1) • IntelliJ at /Users/taboosun/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app • Flutter plugin version 71.3.6 • Dart plugin version 223.8214.16 [✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1) • IntelliJ at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8214.52/IntelliJ IDEA.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] IntelliJ IDEA Ultimate Edition (version 2022.3) • IntelliJ at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.7571.182/IntelliJ IDEA.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] VS Code (version 1.74.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.56.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-arm64 • macOS 13.1 22C65 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 109.0.5414.87 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 1 category. ```