-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug:
While using SingleChildScrollView, the onLinkTap
callback is not called. the same code, using Html
widget works fine.
HTML to reproduce the issue:
SelectableHtml(
data: menuButton.content ?? "",
style: {
"body": Style(
margin: EdgeInsets.zero,
color: Theme.of(context).primaryColor,
),
},
onLinkTap: (link, renderContext, map, element) async {
if (link != null && link.isNotEmpty) {
await launch(link);
}
},
)
Html
widget configuration:
The exact same code from the example
Expected behavior:
the onLinkTap
is called
Device details and Flutter/Dart/flutter_html
versions:
flutter_html version: ^2.1.0
Flutter: (Channel stable, 2.2.1, on Linux, locale en_US.UTF-8)
searching for his onLinkTap
callback
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working