Open emclab opened 4 years ago
Try replace <Animated.AniFastImage>
with <AniFastImage>
Try replace
with
with what?
Try replace
with with what?
import { animated } from 'react-spring/native'
const AniFastImage = animated(FastImage)
<AniFastImage>
{ ... }
</AniFastImage>
Describe the bug created animated component with RN Animated to zoom in an image by following an online article:
The view code is:
Before adding animated zoon in with
react-native-gesture-handler
, theFastImage
works fine with loading images. The error is coming out ofAnimated.createAnimatedCompnent()
and I am wondering if there is some issue for FastImage working with RN Animated.createAnimatedComponent().To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo:
Expected behavior The image shall be loaded and can be zoom in and out.
Screenshots If applicable, add screenshots to help explain your problem.
Dependency versions
Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.