Open if95 opened 1 year ago
Very strange. I can't get this to happen. Can you provide code to reproduce?
I am using it to display a Wordpress blog post.
Html(
data: widget.post.content ,
style: {
"body": Style(
fontSize: FontSize(18.0),
fontWeight: FontWeight.bold,
),
},
onAnchorTap: (url, _, __, ___) async {
if (await canLaunch(url)) {
await launch(
url,
);
}
},
),
It may be an issue with Impeller? Can you share the output of flutter doctor
? Additionally, which flutter_html version are you seeing this on?
I also used version ^0.8.2 and got the same result
Hmm, still strange. What type of iOS device? Does the same thing happen on a simulator?
No, it never happened on a simulator, just on a real device. It appeared when I tested it on iPhone 11 and iPhon 14 real devices.
You mentioned the Impeller, should I disable it?
It's worth a try. I haven't had a chance to pull out my physical iOS test device to try it myself yet.
I am using launchUrlString
method from url_launcher: ^6.0.10
to launch links.
I tried to disable the Impeller but nothing change
Hello I am using flutter_html in my flutter app but I noticed an issue when the rendered text has a link.
it appears some weird lines as background after the links when I tested it on iOS real device.
I tried to change the link color, add a background but it didn't work.