Skip to content

Long text creates margin at the bottom of the textΒ #6

@jobpaardekooper

Description

@jobpaardekooper

When you have a large amount of text inside the component you will eventually get some margin at the bottom of the text view. The longer you make the text the more margin will be there. The margin seems to get added in increments of the line height as you make the text longer.

If you take 30 paragraphs of Lorem Ipsum you will see one extra line:
Screenshot 2024-04-05 at 11 06 43
The red background is set on the UITextView.

If you add another 30 paragraphs you will get another extra empty line:
Screenshot 2024-04-05 at 11 07 45

My guess is that it would have to do with some small error in the view height calculation that adds up over time as the size of the text grows. But I have not looked at the code much so I don't know exactly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions