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

App crashes when Accessibility VoiceOver is turned on in the device #119

Open
Malith-Wijesekara opened this issue Oct 3, 2023 · 1 comment

Comments

@Malith-Wijesekara
Copy link

Malith-Wijesekara commented Oct 3, 2023

Issue

I have integrated the swipe button into a specific screen in an app. When accessibility voiceover is turned on and navigated to that screen app crashes with the following error.

ERROR  TypeError: Cannot add new property '_tracking'
This error is located at:
    in SwipeThumb (at SwipeButton/index.js:133)
    in RCTView (at View.js:32)
    in View (at SwipeButton/index.js:102)
    in RCTScrollContentView (at ScrollView.js:1682)
    in RCTScrollView (at ScrollView.js:1800)
    in ScrollView (at ScrollView.js:1826)
    in RCTView (at View.js:32)...

Expected behavior
App should proceed without crashing.

Additional context

"react-native": "0.69.5"
"rn-swipe-button": "^1.3.8",

image

This panStyle with the animatedWidth is causing the issue only if accessibility is turned on in the device.

@UdaySravanK
Copy link
Owner

I tested it with TalkBack and button works fine. I will test it with VoiceOver soon. But requesting to upgrade to v2.0 and let me know if the issue still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants