Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

onPress event for child nodes seem to get blocked on iOS #47

Description

@jonasfrid

Hi there! This is a great library, although I'm having some trouble with nested, styled components inside a SelectableText.

I'm doing the following:

 <SelectableText
        value={textElements}
        style={style}
        menuItems={[
         'foo',
         'bar'
        ]}
        onSelection={this.pressedSelection}
      />

where textElements is an array of <Text onPress={myOnPressFn} style={{myStyle}}> elements with custom styles and highlights. However, myOnPressFn does not get called on iOS, only on Android. Why might this be?

Kind regards,
Jonas

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