Skip to content

Shared element transition using spring interpolation is jumpy at the end (only Android) #7044

@nelsonprsousa

Description

@nelsonprsousa

🐛 Bug Report

The spring interpolation is a bit jumpy at the end of the animation. Only on Android (looks okay on iOS).

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

  1. Clone this repo
  2. Go to set-spring-bug branch
  3. yarn
  4. yarn android

Expected behavior

The animation should happens like in iOS (it is a little bit jumpy in Android).

Actual Behavior

Looks like there are a pixel left to animate
Here's the iOS and Android animation:

Screen.Recording.2021-03-20.at.23.29.06.mov

Your Environment

  • React Native Navigation version: 7.8.4
  • React Native version: 0.63.4
  • Platform(s) (iOS, Android, or both?): Android

Reproducible Demo

  1. Clone this repo
  2. Go to set-spring-bug branch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions