DEV Community

Discussion on: "Fixing" React Navigation & iOS screen reader focus

Collapse
 
renaudamsellem profile image
renaudAmsellem

Hi,

Thank you for your post. I had to implement this myself and I found a similar solution (with useFocusEffect and a component that I use in every screen to target the correct element to receive focus).

I see that your code targets only iOS. I currently have trouble with android. Talkback does not read anything when calling setAccessibilityFocus when useFocusEffect occurs.

Did you found a way to make it work on android?
(PS: I think talkback in broken since react-navigation 6)