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

Improves Pressable's compatibility with RN::Pressable and TestingLibrary #3347

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sidferreira
Copy link

@sidferreira sidferreira commented Jan 21, 2025

Description

This PR is an attempt to improve RNGH::Pressable to be a better drop-in for RN::Pressable.

Although they can behave the same in most ways, there are many small behaviors that they differ especially when using

Discussions:
RNTL: callstack/react-native-testing-library#1738
RNGH: #3349

Test plan

Creating tests to be applied to both components and expect the same results

@sidferreira
Copy link
Author

needs to fix some lint errors and find out why getRole("button") is not working ._.

@sidferreira sidferreira changed the title Improves pressable compatibility with rn Improves Pressable's compatibility with RN::Pressable and TestingLibrary Jan 21, 2025
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