Skip to content

AnimationExperimental positionX/Y #903

@finalquest

Description

@finalquest

Hi.
I know that the whole animation library is very experimental. As is state in the Class name.
But I'm trying to use it to do a simple translation animation and I've been facing some issues.
I have a whole screen view which I want to move over the Y axis offscreen by 80px.
When I used -80 as the toValue, the screen was moved out of the screen almost completly.
Debuggin the RCTAnimationExperimentalManager I see that the starting point of the view is 281 instead of 0.
I dont know if I'm setting some wrong style or flex layout, or if this is inteded.

Regards.

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