Skip to content

[BUG] <li> are rendered in the same line when shrinkWrap is true #1280

@krille-chan

Description

@krille-chan

Describe the bug:

If you set shrinkWrap to true it breaks

  • list items.

    HTML to reproduce the issue:

    <ul>
      <li>First line</li>
      <li>Second line</li>
    </ul>

    Html widget configuration:

    Html(
    //...
      shrinkWrap: true,
    );

    Expected behavior:

    It works fine when shrinkWrap is false.

    Screenshots:

    Bildschirmfoto 2023-05-22 um 08 30 48

    Device details and Flutter/Dart/flutter_html versions:

    flutter_html: ^3.0.0-beta.1

    A picture of a cute animal (not mandatory but encouraged)

    🐰

  • Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      bugSomething isn't working

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions