Skip to content

multiline TextInput scrolling #1391

Closed
Closed
@d-vine

Description

@d-vine

I'm building a multiline text input component the grows for the first n lines and after that just scrolls as usual.

The growing it self and the scrolling after it's reached it's maximum height are working fine. But when I grow the box after adding a line break the scroll position of the text in the box is completely off.

For this to work I probably would either need to be able to disable scrolling or to have access to a scrollTo() method. Since I'm completely new to iOS and Objective-C, I unfortunately haven't figured out any of the two yet. Suggestions would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions