-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inline styleName to NavigationBar #104
Conversation
'.inline': { | ||
container: { | ||
width: window.width, | ||
position: 'relative', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix indentation. Remove two extra spaces. Also, have you tested it how does it work in situations like this:
render() {
return (
<Screen>
<NavigationBar />
<ScrollView>
{/*Some scrollable content*/}
</ScrollView>
</Screen>
);
}
I want to know would scroll view's content overlap navigation bar after scroll... If it would, then add zIndex to navigation bar's style.
Also, could you add this styleName to the documentation as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Sorry for the indentation =(
Yeah I tested on ListView
.. going to take a look on ScrollView
component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, @guilhermedecampo did you find some time to test it? Are we good to go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @guilhermedecampo can we merge it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow so sorry for all this time!
So I tested with both ListView and ScrollView components.
Check out the gifs below..
OBS: Take in consideration that I just changed NavigationBar and that there is a NavigationHeader
this why the extra space on top.
Not working - not using inline styleName
Working - using inline styleName
+ ListView
Working - using inline styleName
+ ScrollView
And thank you for submitting the PR! |
@guilhermedecampo Thank you man! |
Fix NavigationBar being hidden by ListView.