Skip to content

Cannot tap element on renderHeader #60

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

Closed
mkrotel14 opened this issue Feb 22, 2019 · 1 comment
Closed

Cannot tap element on renderHeader #60

mkrotel14 opened this issue Feb 22, 2019 · 1 comment

Comments

@mkrotel14
Copy link

I made a Header using react native-base library to control better the Left and Right position. By doing this, the onPress function inside a Button (again, from native base) doesn't do anything

<HeaderScrolLView
    renderHeader={() => (
        <Header>
            <Left>
                <Button onPress={() => this.someFunction(someProps) >
                    <Icon name='arrow-back' />
                </Button>
            </Left>
        </Header>
    )}
>
{ . . . }
</HeaderScrollView>
@Nhacsam
Copy link
Contributor

Nhacsam commented Mar 12, 2019

I am sorry but it is a known issue. The scrollView is above the header and get the touch.
See #6 fro details

@Nhacsam Nhacsam closed this as completed Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants