Skip to content

Pressable within MenuView is not pressable #1183

Description

@arnekolja

Is there any way to make Pressables that are nested within a MenuView actually pressable? It seems like the onPress event is not propagated at all when nested inside.

Situation:

const onPressAction = () => {
    // fired on long press
};

const onPressPressable = () => {
    // never fired
};

<MenuView
    actions={[ ... ]}
    shouldOpenOnLongPress={true}
    onPressAction={onPressAction}
>
    <Pressable onPress={onPressPressable}>
        <Text>Hit me</Text>
    </Pressable>
</MenuView>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions