Skip to content
This repository was archived by the owner on May 6, 2023. It is now read-only.
This repository was archived by the owner on May 6, 2023. It is now read-only.

Autosizing not updating in Simulator #2

@retsohuang

Description

@retsohuang

Have you read the Contributing Guidelines?

Yes

General Information

  • Project version:
    1.1.0

  • Platform/OS version:
    iOS 13.2

  • IDE version:
    Version 12.5.1

  • Devices:
    iPhone 11

  • Any related GitHub issues:
    Nope

Describe the bug

TextView's size didn't update

Steps to reproduce

Provide numbered steps to follow that reproduce the bug.

  1. Download Demo
  2. Delete Presentation and Browsers packages since they can't run on Xcode 12.5.1
  3. Delete PresentationDemo and ScrollViewDemo since the package has been deleted
  4. Run the project on the simulator and choose TextView

Expected behavior

The text2 string should be fully displayed

Stack trace, compiler error, code snippets

Nope

Screenshots

Only display the first line of string

Additional context

Changing TextView.swift's calculatedHeight default value to 0 fix the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions