oblador / react-native-animatable

Standard set of easy to use animations and declarative transitions for React Native
MIT License
9.84k stars 702 forks source link

Android and view overflow #240

Open nxz91 opened 5 years ago

nxz91 commented 5 years ago

Hi everyone,

I'm having issues with certain animations on Android that create overflow beyond the original size of the view (e.g. "pulse" – beautiful animation on iOS!). Unfortunately, the overflow seems to get cut off on Android in general. I'm referring to this issue: https://github.com/facebook/react-native/issues/6802

Is it me or is this really an issue with certain Animatable animations on Android?

Thanks!

tjbenton commented 5 years ago

To get around this problem I had to use react-native-view-overflow

import * as Animatable from 'react-native-animatable'
import ViewOverflow from 'react-native-view-overflow'
const AnimatedView = Animatable.createAnimatableComponent(ViewOverflow)