Skip to content

initial scroll position? or get internal scrollview ref #7

@maartenvandillen

Description

@maartenvandillen

Hi I would like to set the initial scroll position of the KeyboardAvoidingScrollView. I know there is no cross platform prop for this in scrollview but I thought maybe it is possible to achieve this with the existing implementation of KeyboardAvoidingScrollView because it is full of scrolling logic?

If not, I tried getting a ref to the underlying scrollview using:

<KeyboardAvoidingScrollView ref={this.scrollView} .. />

but the ref .current property stays null.

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