monte9 / react-native-parallax-scrollview Goto Github PK
View Code? Open in Web Editor NEWThe Parallax ScrollView component we all deserve. :rocket:
Home Page: https://expo.io/@monte9/parallax-scrollview-example
License: MIT License
The Parallax ScrollView component we all deserve. :rocket:
Home Page: https://expo.io/@monte9/parallax-scrollview-example
License: MIT License
The package currently uses JavaScript and can be converted to Typescript for better code quality and response. Can I convert the codebase to Typescript @Monte9? Waiting for your response. Thank you.
Hi,
I am reaching you to ask if there is an Expo compatible problem or something similar with your library. I inserted you library as shown in the README for it to work, and suddenly, I get this error:
The moment I press the profile go to button, that error comes up and my app stops working. It is not an Expo or Recat-Native problem because all the other views are fine, it is just the profile when I stick this code:
<ParallaxScrollView
windowHeight={SCREEN_HEIGHT * 0.4}
backgroundSource='../assets/images/profile_background_2.png'
navBarTitle='Profile'
userName={user.displayName}
userTitle='+34 660 20 92 91'
userImage= {user.photoURL}
/>
If you have a solution it would be awesome, if not, is there anything you could do to fix it?
Thank you very much
Properties of my app:
"dependencies": {
"expo": "^32.0.6",
"react": "^16.8.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"react-native-elements": "^1.1.0",
"react-native-parallax-scrollview": "^3.0.0",
"react-navigation": "^3.0.9"
}
I tried to replace a ScrollView with ParallaxScrollView , but it performed the same way with ScrollView, I couldn't pull the head view any higher when I was trying to. So, what may the problem be? Is there any necessary property I forgot ?
I want to add a component which is a camera view to the background rather than passing a uri as backgroundSource
Can Any one Help me ?
Thank you for this library!
When i scroll, the header changes color as though it's animated alongside the scroll?
Oddly, this only happens if i use RGBA / Hex codes or rarely used 'wordcolors' like 'deepskyblue' in the navBarColor prop
If i just set it as 'black' or ' blue' etc then it just stays solid (this is the behaviour i'd want and expect given the lack of prop to turn off animated changing colours in the header )
hi,
can we show multi right icon with this lib ?
Thanks
in my case, I don't need the header icons. I've tried to remove the leftIcon
and rightIcon
from props, but it seems that this library have a default value if props not present
Since react 16.0.0 released, many things changed 😞 and your nice project became incompatible with that.
Would you please update repo to matches new changes? 😃
ParallaxScrollView.js:285:32
dont know why this error is showed
Hi, i am using this module it's working fine. How can i change the font-size of navbar title in parallax-scrollview. Please give me any suggestion. Thank you in advance.
Code:-
<ParallaxScrollView
windowHeight={height * 0.5}
backgroundSource={{
uri: imageArray
? productDetails.images[0]
: productDetails.images,
}}
navBarTitle={productDetails.product.title}
navBarTitleColor={Colors.white}
navBarColor={Colors.black}
headerView={<View style={{flex: 1}} />}
leftIcon={{
name: 'chevron-left',
color: Colors.white,
size: 20,
type: 'font-awesome',
}}
leftIconOnPress={() => navigation.pop()}>
<Scrollview>{this.renderContent()}</Scrollview>
</ParallaxScrollView>
Versions:-
"react-native": "0.61.4"
"react-native-parallax-scrollview": "^3.0.0"
As I implement the examples, it shows Error by 'Argument 0 (UIStatusBarStyle) of StatusBarManager. must not be null'...
please give me a advice
Thanks
Hi, First thank you,
i want to put a image Slide like Background, but yout background is juste imageSource ?
any Help ?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.