WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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

@jonasfrid

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

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