Skip to content

[ios] Label with formatted text and theme classes crashes #4582

@PeterStaev

Description

@PeterStaev

The following snippet crashes on iOS 3.1.0 but was working in 3.0:

    <Label row="1" colSpan="2" class="h2 p-t-15">
        <Label.formattedText>
            <FormattedString>
                <FormattedString.spans>
                    <Span class="fa" text="&#xf1b3;"/>
                    <Span text=" Workload"/>
                </FormattedString.spans>
            </FormattedString>
        </Label.formattedText>
    </Label>

If i remove the h2 class it works as expected. Attaching demo project to simulate the problem.
label-styles.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions