You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been hunting this bug for a while now and finally managed to make a minimal repro. The issue is that sometimes on Android our layout animation ends up being too big:
Top has the bug, bottom is working correctly - but the repro is random.
It almost looks like the device density was miscalculated and the layout got stretched out too much. Having another animation running in the background is somehow causing this to happen.
Click the button in the Android emulator/device (see video below)
Note: You might have to restart the app a couple times for this to happen (code reload isn't enough). The issue is random - you can end up with two incorrect, two correct, or one correct+one incorrect animation.
Repro rate is roughly 50% on the SDK 36 emulator.
Source .riv/.rev file
Included in the repro
Expected behavior
The border animation should be subtle
Screenshots
Untitled.mov
Device & Versions (please complete the following information)
Description
I've been hunting this bug for a while now and finally managed to make a minimal repro. The issue is that sometimes on Android our layout animation ends up being too big:
Top has the bug, bottom is working correctly - but the repro is random.
It almost looks like the device density was miscalculated and the layout got stretched out too much. Having another animation running in the background is somehow causing this to happen.
Provide a Repro
https://github.com/Nezz/expo-repro/tree/repro/RiveSize
Repro steps:
bun androidNote: You might have to restart the app a couple times for this to happen (code reload isn't enough). The issue is random - you can end up with two incorrect, two correct, or one correct+one incorrect animation.
Repro rate is roughly 50% on the SDK 36 emulator.
Source
.riv/.revfileIncluded in the repro
Expected behavior
The border animation should be subtle
Screenshots
Untitled.mov
Device & Versions (please complete the following information)
Additional context