Skip to content

bug: ion-toast wrapping wrong when using <b> inside with default --whitespace #21486

@RafaelKr

Description

@RafaelKr

Bug Report

Ionic version:

[x] 4.x

Current behavior:

Some time ago I opened an issue which led to the implementation of the --whitespace css variable on ion-toast: #20727

The variable defaults to pre-wrap. This can lead to a "display bug" which I described in the mentioned issue. The problem is that in most cases the developer won't even know that this bug exists as it only appears on specific screen sizes/breakpoints. So he won't change the --white-space variable.

Expected behavior:

Please consider to update the default value to --white-space: normal in the next major release of Ionic as it is much more natural behavior.

Steps to reproduce:

See my other issue for a visual explanation: #20727

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions