-
-
Notifications
You must be signed in to change notification settings - Fork 888
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
Same Error as issue "White space added into image in flutter web #1029" #1292
Comments
There was an issue with |
As you said, there is indeed a problem with this |
Thanks for your reply,best wishes |
Hopefully the Migration Guide can help you get your project running on 3.0.0-beta.2 |
@Sub6Resources Could you please confirm whether the issue is resolved on your side and let me know the result. Best, |
This is a friendly reminder of my inquiry above. |
Same Error, I have to chang "flutter_html" package to "flutter_widget_from_html" package, and solved this error, my code: HtmlWidget('your html data',
customWidgetBuilder: (element) {
if(element.localName == 'img'){
// CustomImage is my custom image loading widget
return CustomImage(uri: element.attributes['src']??'');
}else{
return null;
}
}), |
I think this problem is due to rich text. You can try
|
The hotfix is add
|
Describe the bug:
I use the flutter_html: ^3.0.0-alpha.6 to load page,android devices show correct,but on iOS device,after the picture is loaded, there will always be a large blank space below the picture
HTML to reproduce the issue:
Html
widget configuration:Expected behavior:
no extra white space
Screenshots:
https://exchange-xzy.oss-cn-hongkong.aliyuncs.com/xzy/uploadImg/lQDPJxd_PwKvsfrNCeTNBJKwnN30LaQNJ4EEZykHFcASAA_1170_2532.jpg
Device details and Flutter/Dart/
flutter_html
versions:flutter_html: ^3.0.0-alpha.6
[✓] Flutter (Channel stable, 3.0.2, on macOS 13.3.1 22E772610a darwin-arm, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.65.2)
Stacktrace/Logcat
Additional info:
The text was updated successfully, but these errors were encountered: