We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
react-native-web
hi @z4o4z thanks for your work.
this lib work very well in react-native , but i when to use it in react-native-web ,
react-native
something is happen, the backgroundPlaceholder not in the right place, it will come to side by side with the foreground.
backgroundPlaceholder
foreground
and all my render code is here
render
return ( <ParallaxScroll style={style} useNativeDriver={true} isBackgroundScalable={true} parallaxHeight={theme.PARALLAX_HEADER_HEIGHT} headerFixedTransformY={theme.PARALLAX_STICKY_HEADER_HEIGHT / 2} fadeOutParallaxBackground={false} fadeOutParallaxForeground={true} headerFixedBackgroundColor={'rgba(51, 51, 51, 1)'} headerBackgroundColor={'rgba(51, 51, 51, 0)'} parallaxBackgroundScrollSpeed={5} parallaxForegroundScrollSpeed={2.5} renderParallaxForeground={() => <Foreground onPress={() => console.log('onPress Foreground')} />} // renderBackgroundPlaceholder={() => <Content children={children} navigation={navigation} />} > <Content /> </ParallaxScroll> );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue details
hi @z4o4z thanks for your work.
this lib work very well in
react-native
, but i when to use it inreact-native-web
,something is happen, the
backgroundPlaceholder
not in the right place, it will come to side by side with theforeground
.Please specify which versions of the RN and ParallaxScroll
Affected platforms
Screenshots / Screencast / Code Snippets (Optional)
and all my
render
code is hereThe text was updated successfully, but these errors were encountered: