Comments (8)
Should be doable, we'll have a look and get back to you :)
from react-native-material-design.
I'm sure it will be, but need to think about how the toolbar will cope with this. Currently it's sat at the top of everything as a "master", something like this would need to override it, or provide a way to override it for a current scene... Shall think.
from react-native-material-design.
I added this as an issue here, facebook/react-native#5177, however I'm thinking it's not possibly to do like this.
One potential solution is that with the custom Navigate class in the demo, you could do something like so:
Navigate.to('route', {
name: 'Some route',
navigationBar: <SomeOtherComponent />
});
Then in our Toolbar component, do something like:
render() {
const { navigator } = this.context;
if (navigator.navigationBar) {
return navigator.navigationBar;
}
return <Toolbar....../>
}
This however, means the whole demo-app itself is very tightly attached to:
- The Navigate class
- The demo app implementing the Toolbar in this way.
Yet at the same time, all we need to do for the core lib is provide the toolbar... how you implement it in your own setup is your issue I suppose.
from react-native-material-design.
Hi @arpu @Salakar @Ehesp It is possible. And there is already a react native implementation react-native-parallax-scroll-view. It's really a great implementation. I have tried it and used it. :)
It is an actively maintained repo.
from react-native-material-design.
Looks good but doesn't seem very "Material", especially how it doesn't fade. Shall look into it a bit more.
from react-native-material-design.
Yeah agree with you. It's not "Material", but, a very good reference to start with.
from react-native-material-design.
@Ehesp you workin on this?
from react-native-material-design.
can be closed? works perfect with react-native-parallax-scroll-view.
from react-native-material-design.
Related Issues (20)
- Button Background Color Change!
- Button text not aligned HOT 2
- How to call an Android alarm in the react native HOT 1
- How to set Media width?
- app:compileDebugJavaWithJavac FAILED HOT 3
- App Drawer Icons have no Padding
- Update
- Update PropTypes library
- Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. HOT 1
- Cannot read property 'oneOf' of undefined in 0.3.7 in React Native HOT 7
- update for PropTypes HOT 15
- Cannot read property 'replace' of undefined HOT 1
- Error in demo app. HOT 2
- error npm HOT 1
- App crashes when offline bundle is created
- react-native-material-design gives error in createIconSet HOT 1
- i am getting this error
- Fetching JS Bundle
- update for PropTypes
- Overriding a style
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-material-design.