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

Disable accessibilityState when TouchableWithoutFeedback is disabled #31297

Closed
wants to merge 3 commits into from
Closed

Disable accessibilityState when TouchableWithoutFeedback is disabled #31297

wants to merge 3 commits into from

Conversation

carloscuesta
Copy link
Contributor

Summary

Disable accessibilityState when the TouchableWithoutFeedback is disabled. This fixes #30953

Changelog

[General] [Changed] - Disable accessibilityState when the TouchableWithoutFeedback is disabled.

Test Plan

Tested the TouchableWithoutFeedback component on an Android device

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 4, 2021
Copy link

@analysis-bot analysis-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis results:

  • eslint found some issues. Run yarn lint --fix to automatically fix problems.

@analysis-bot
Copy link

analysis-bot commented Apr 4, 2021

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 73b9f78

@carloscuesta carloscuesta changed the title Disable accessibilityState when the TouchableWithoutFeedback is disabled Disable accessibilityState when TouchableWithoutFeedback is disabled Apr 4, 2021
@amarlette amarlette requested a review from kacieb April 5, 2021 21:49
@kacieb kacieb self-assigned this Apr 13, 2021
@carloscuesta carloscuesta requested a review from kacieb April 14, 2021 08:16
@carloscuesta
Copy link
Contributor Author

Fixed the case found on snapshots with your suggestion @kacieb 😊

@facebook-github-bot
Copy link
Contributor

@kacieb has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kacieb merged this pull request in 6971640.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Apr 16, 2021
@carloscuesta carloscuesta deleted the disable-click-functionality-a11y-TouchableWithoutFeedback branch April 18, 2021 09:50
@amarlette
Copy link

Thank you @carloscuesta for this contribution to a more accessible React Native! I would like to give you a shout-out on Twitter and include you in our end-of-month issues update for your contribution. Do you have a Twitter we can tag?

@carloscuesta
Copy link
Contributor Author

Sure @amarlette!

Here's my twitter handle @crloscuesta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TouchableWithoutFeedback Component doesn't disable click functionality when disabled
5 participants