Closed preteambuy closed 1 year ago
Your onLinkTap
method is empty. You need to do something in that method when the link is tapped. This plugin doesn't handle opening urls for you.
@Sub6Resources intentionally left the handler blank. Added a debug statement and the click doesn't even hit the handler.
Strange. I'll look into this
@Sub6Resources any updates mate? We are kind off waiting on this for our next release
If this is blocking, you can try to revert to an earlier version to see if that resolves your issue (try 3.0.0-alpha.5).
even the older versions of alpha doesn't work @Sub6Resources
any other suggestions @Sub6Resources ?
@preteambuy I've personally tested older versions of alpha and onlinktap works just fine for me. We'll need some more info or context code to help you debug this case. Maybe a gesture detector or something at a higher level stealing focus?
@Sub6Resources thx mate. Lemme see if something else s not propagating the click event.
Closing, since I can't reproduce
Describe the bug: onLinkTap not working on clicking links
HTML to reproduce the issue:
Html
widget configuration:Expected behavior: Should be able to click the links
Screenshots:
Device details and Flutter/Dart/
flutter_html
versions: Flutter 3.3.4 • channel stable • https://github.com/flutter/flutter.git Framework • revision eb6d86ee27 (4 weeks ago) • 2022-10-04 22:31:45 -0700 Engine • revision c08d7d5efc Tools • Dart 2.18.2 • DevTools 2.15.0Stacktrace/Logcat No Errors
Additional info: Version used: 3.0.0-alpha.6 A picture of a cute animal (not mandatory but encouraged)