rive-app / rive-app/rive-android

Incorrect transition cancelling

Open
#340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
538
Forks
66
PR merge metrics
No merged PRs in 30d

Description

When transition cancelled animation is jerky.
How it works now:
You have two states (A and B) and transitions based on some conditions. The "Allow exit during transition" checkbox is checked. Transactions take some time. You change a variable to start the transition from A to B. During the transition (something between A and B is displayed on the screen), you change the variable back. The state suddenly switches to B, and then the transition from B to A is played.

What behavior is expected:
After changing the variable back, the transition from the current view to state A will be reproduced without suddenly switches.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the A-to-B transition cancellation described in the issue, then trace the Android runtime's transition handling; done means reversing the variable during a transition blends directly to state A without an intermediate switch to state B.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.