HandlebarLabs/currency-converter-starter

Animation has no 'tweening'

Opened this issue · 2 comments

Hi, great tutorials so far, but this part of the animation has stumped me.

Using Android devices to test.

I have tried my own way of fixing this, but ultimately I have copied exactly your styles.js and logo.js, and when the keyboard opens/closes, it takes a few seconds and then jumps straight to the end value so you dont see the logo shrinking/expanding. It just renders immediately to the start or end values.

Have you come across this before?

This was a strange one but in the end I upgraded react native, broke the current install for some confusing reason and then started a new project afresh and brought the files across. Animations are now working smoothly, although android is a bit jerkier as talked about.

Yeah, animations in dev mode on Android can be iffy.

When you say the animations are jerky, do you mean that they start after the keyboard opens? It could be that android doesn't support a keyboardWillShow event - only a keyboardDidShow, which will always lead to lagging animations.