everx-labs/UIKit

Use `withDecay` for UILargeTitleHeader animations that has velocity

savelichalex opened this issue · 1 comments

For now it looks unnatural, when one scrolls a ScrollView and then it ends somewhere in between of large title. After one release a finger we trying to adjust a position to proper place, but do not take a current velocity into account. Decay animation seems to fit better in such situation. Take a look into https://github.com/software-mansion/react-native-reanimated/blob/master/docs/docs/api/withDecay.md .

Was done in #1243