Skip to content

Fix regression in useAsPressable #1074

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 5 commits into from
Oct 15, 2021

Conversation

Saadnajmi
Copy link
Collaborator

@Saadnajmi Saadnajmi commented Oct 15, 2021

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

With #1061 , #1063, and #1068, I made a bunch of changes to useAsPressable and it's siblings to try and have it work better with both the RN Core Pressable, and our port of Pressability. There is one more bug fix (sigh) I need to make, where I caused a regression in useAsPressable and hover effects are no longer showing properly on controls that use useAsPressable.

Verification

I tested this on macOS and win32, and had a second person test on win32 for triple check sanity, as it's the end of our Hackathon week.

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

@Saadnajmi Saadnajmi merged commit f0c4458 into microsoft:master Oct 15, 2021
@Saadnajmi Saadnajmi deleted the fix-useaspressable branch October 15, 2021 19:34
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.

2 participants