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

Elements sitting within and above the tappable area need to override (nested Tappable) #128

Open
ericjames opened this issue Jul 26, 2019 · 0 comments

Comments

@ericjames
Copy link

ericjames commented Jul 26, 2019

An element that sits inside a tappable area with a higher zindex should take precedence and not trigger the tappable event inside it. In my case the underlying "card" layer is tappable as a whole but there is a button element that should have its own tap action.

stopPropagation doesn't seem to do anything. There really should be a "bubble" level specification.

<Tappable>
    Card layer divs tappable
    <Tappable><Button> zIndex = 100, does its own thing, Card layer ignored</Button></Tappable>
</Tappable>
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

1 participant