Closed eMxPi closed 2 years ago
Any workaround for this? @Sub6Resources
It also doesnt show any img tag or figure tag, related?
My fix => Use SelectedArea with Flutter 3.3 and keep HTML()
My fix => Use SelectedArea with Flutter 3.3 and keep HTML()
SelectionArea
you mean?
@sawirricardo, @eMxPi has the correct and preferred solution. SelectableHtml will be deprecated in the near future in favor of the SelectionArea
widget from Flutter 3.3.
See #1153 for more information
Describe the bug: When Using SelectableHTML on Flutter 3.0.5, html text with
<ul>
or</li>
are skipped.Steps to Reproduce Create a widget based on SelectableHtml and ask it to display html data containing
<ul>
and</li>
Actual results: Text being displayed when using Html widget But not displayed with SelectableHtml
Code Sample :
Semantics( label: 'My test', container: true, excludeSemantics: true, child: SelectableHtml( key: Key('myKey'), data: '<div>this is a sample text: <ul><li>first entry</li><li>first entry</li></ul></div>', ), ),
HTML to reproduce the issue:
Html
widget configuration:Semantics( label: 'My test', container: true, excludeSemantics: true, child: SelectableHtml( key: Key('myKey'), data: '<div>this is a sample text: <ul><li>first entry</li><li>first entry</li></ul></div>', ), ),
Expected behavior:
Screenshots:
Device details and Flutter/Dart/
flutter_html
versions: flutter 3.0.5 and flutter_html 3.0.0-alpha3