Skip to content

[web] Text with TextAlign.justify not work on iPhone #52019

@andrea689

Description

@andrea689

When I use:

Text(
  'my long text',
  textAlign: TextAlign.justify,
),

In the Mac Chrome and Safari working fine and also in Android Chrome, but not in the Safari and in Chrome for iOS.

I have investigated and I found that the problem is caused by white-space: pre-wrap; that not work with text-align: justify;.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: typographyText rendering, possibly libtxtframeworkflutter/packages/flutter repository. See also f: labels.in triagePresently being triaged by the triage teamplatform-webWeb applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions