Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS voiceover onPress does not navigate links #611

Open
atfilipcc opened this issue Dec 1, 2023 · 1 comment
Open

iOS voiceover onPress does not navigate links #611

atfilipcc opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@atfilipcc
Copy link

atfilipcc commented Dec 1, 2023

Describe the bug
If you double tap a marked down link on iOS when voiceover is on, nothing will happen.

To Reproduce
Turn on VoiceOver, navigate to a page with a link and try to press it with a double tap.

Reproducible Code
Simply pass an interpolated link as markdown:

        <Markdown
              value={'[Hello, world](https://google.com)'}
            />

Expected behavior
Double tapping the screen while selecting the interpolated link element should open a the link through Linking.openURL

  • React Native Version:
    0.72.5

  • react-native-marked Version:
    6.0.4

  • Platform:
    iPhone 11, iOS 17.2

Additional context
I tried passing a custom renderer with Pressable, TouchableOpacity, custom buttons etc. using their own onPress handlers, but none trigger the navigation. If you immediately invoke the functional call like so Linking.openURL(href) as opposed to () => Linking.openURL(href) it will navigate successfully on render, so it seems like the gesture itself is blocked.

@atfilipcc atfilipcc added the bug Something isn't working label Dec 1, 2023
@gmsgowtham
Copy link
Owner

Looks like an upstream issue. I'll check if there's a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants