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

Add changes to disabled property for components (e.g TouchableHighlight) #11253

Closed
wants to merge 0 commits into from

Conversation

YajurG
Copy link
Contributor

@YajurG YajurG commented Feb 21, 2023

Description

Added changes to prevent components that are disabled from being keyboard focusable. Used TouchableHighlight issue #8875 as example.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

Resolves [#8875 ]

What

Added logic to check disabled property on components and, if true, make them not focusable.

Screenshots

After:
Screenshot (1)

Testing

Tested on a TouchableHighlight component in playground. As shown in image above, hanges were not effective, as even with disabled={true}, component still receives keyboard focus.

Microsoft Reviewers: Open in CodeFlow

@YajurG YajurG closed this Feb 23, 2023
@YajurG YajurG deleted the YajurG-8875 branch February 23, 2023 18:52
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

Successfully merging this pull request may close these issues.

1 participant