Skip to content

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

Closed

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

Activity

  1. tsonevn commented on Jul 24, 2017

    @tsonevn
    Contributor

    Hi @PeterStaev,
    Thank you for the sample project.
    I reviewed it and was also able to reproduce this issue on my side. We will research what is causing this issue and will provide the needed fix.

    For further info you could keep track on the issue.

  2. hshristov commented on Aug 8, 2017

    @hshristov
    Contributor

    @PeterStaev @tsonevn I cannot reproduce it with master branch.
    Could you guys check it too and close if it is fixed?

  3. tsonevn commented on Aug 8, 2017

    @tsonevn
    Contributor

    @hshristov
    Indeed this problem is no longer reproducible with @next modules.

  4. added this to the milestone on Aug 8, 2017
  5. PeterStaev commented on Aug 8, 2017

    @PeterStaev
    ContributorAuthor

    @hshristov
    I also confirm that this is fixed in @next

  6. lock commented on Aug 28, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked and limited conversation to collaborators on Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions