Skip to content

Fix: onAccessibilityAction causes crash #368

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

Merged
merged 4 commits into from
Apr 20, 2022

Conversation

BartoszKlonowski
Copy link
Member

This pull request fixes #250
It adds the explicit implementation of utilizing the onAccessibilityAction property passed to the Slider exposed to JS side.

The implementation does not overrides the implementation of the event itself, but it takes that property directly from props passed to Slider as part of ViewProps.
The extracted property is explicity passed to Slider component implementation.

Tested on simulator using the Accessibility Inspector from Xcode tools.

@BartoszKlonowski BartoszKlonowski added bug report Something isn't working platform: iOS Issue related to iOS platform labels Apr 12, 2022
@BartoszKlonowski BartoszKlonowski force-pushed the fix/accessibility-action-ios-crash branch from f401d9a to af2c710 Compare April 12, 2022 22:20
@BartoszKlonowski
Copy link
Member Author

CC: @alexkramerbanjo

@BartoszKlonowski BartoszKlonowski removed the bug report Something isn't working label Apr 13, 2022
@BartoszKlonowski BartoszKlonowski merged commit 4099689 into main Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: iOS Issue related to iOS platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iOS onAccessibilityAction bug
1 participant