Skip to content

Selectable text is not pressable #7812

Closed

Description

@rozele

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Add an onPress handler to a component that is selectable
  2. Attempt to invoke the onPress handler

Expected Results

As long as the text selection has not changed, the onPress handler should be invoked, just like the expected behavior for XAML hyperlink.

Snack, code example, screenshot, or link to a repository:

RNTester example: https://github.com/rozele/react-native-windows/blob/587e6c98835a969ec467973e38ba4211d27e03c2/packages/%40react-native-windows/tester/src/js/examples-win/Text/TextExample.windows.tsx#L689-L701

playground.2021-05-20.12-25-08.mp4

Activity

  1. ghost added
    Needs: Triage 🔍New issue that needs to be reviewed by the issue management team (label applied by bot)
    on May 20, 2021
  2. added 2 commits that reference this issue on May 20, 2021
    587e6c9
    21ea561
  3. added and removed
    Needs: Triage 🔍New issue that needs to be reviewed by the issue management team (label applied by bot)
    on May 20, 2021
  4. added this to the 0.66 milestone on May 20, 2021
  5. added 2 commits that reference this issue on Jul 3, 2021
    ad42c0b
    526f41e
  6. added 2 commits that reference this issue on Aug 3, 2021
    5c95884
    2e05f74
  7. added 4 commits that reference this issue on Aug 19, 2021
    0a9c7a4
    e9c9ee6
    64154ff
    97ba4a7
  8. added a commit that references this issue on Sep 1, 2021
    7b2adc2
  9. added 3 commits that reference this issue on Sep 9, 2021
    3ee77a5
    325df7a
    90cde04
  10. added 5 commits that reference this issue on Sep 30, 2021
    87e160c
    ce4bde0
    b4f2123
    d1d2900
    3f86d76
  11. added a commit that references this issue on Oct 8, 2021
    e7735a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions