Open AwayiOS opened 1 year ago
Unfortunately I think this is an issue with Flutter's implementation of RichText
and PlaceholderSpan
rendering being a bit buggy as a scroll happens. I'll dive into this at some point and see if we can't file some sort of issue for the Flutter team to look at.
Describe the bug:
When i use flutter_html to parse multiple consecutive image labels, a white space may appear between two images, which will flicker across the page as you scroll
HTML to reproduce the issue:
Html
widget configuration:Expected behavior:
Screenshots:
Or you can check out this video: https://github.com/AwayiOS/IssueResource/blob/main/videos/flutter_html_issue_video.mov
Device details and Flutter/Dart/
flutter_html
versions:Mobile: iPhone XS Pro Max iOS 15.4.1
Flutter (Channel stable, 3.3.9, on macOS 12.6.1 21G217 darwin-x64, locale zh-Hans-CN)
sdk version flutter_html: ^3.0.0-alpha.6
Additional info:
I think it may be caused by the calculation deviation of image widget position when scrolling
A picture of a cute animal (not mandatory but encouraged)