Skip to content

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

@ericjames

Description

@ericjames

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions