-
-
Notifications
You must be signed in to change notification settings - Fork 907
[BUG] SelectableHtml not displaying <ul> or <li> #1162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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() |
|
@sawirricardo, @eMxPi has the correct and preferred solution. SelectableHtml will be deprecated in the near future in favor of the 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
The text was updated successfully, but these errors were encountered: