Skip to content
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

Header not rendering in certain cases #6

Closed
anthonywebb opened this issue May 4, 2016 · 1 comment
Closed

Header not rendering in certain cases #6

anthonywebb opened this issue May 4, 2016 · 1 comment
Labels

Comments

@anthonywebb
Copy link

anthonywebb commented May 4, 2016

I found that the header code (copy and paste from your examples) would not render unless there were other things under it, for instance:

This will not render anything

<Container>
                <Header>
                    <Button transparent>
                        <Icon name={'ios-arrow-left'} />
                    </Button>

                    <Title>Header</Title>

                    <Button transparent>
                        <Icon name={'navicon'}/>
                    </Button>
                </Header>
            </Container>

But this works

<Container>
                <Header>
                    <Button transparent>
                        <Icon name={'ios-arrow-left'} />
                    </Button>

                    <Title>Header</Title>

                    <Button transparent>
                        <Icon name={'navicon'}/>
                    </Button>
                </Header>
                <Content>
                    <Text>Some content here</Title>
                </Content>
            </Container>
@himanshu-satija
Copy link
Collaborator

@anthonywebb We have fixed this issue now. The new version will be published today which will also have some new features.
If you want the fix right away you can get the latest code from our master branch.

hblab-luunv pushed a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv pushed a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv pushed a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv pushed a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv added a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv added a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv added a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv added a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv pushed a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
hblab-luunv added a commit to hblab-luunv/NativeBase that referenced this issue Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants