Skip to content

Conversation

@virdesai
Copy link
Contributor

@virdesai virdesai commented Mar 2, 2022

Description

Fix related to my comment here about RNGestureHandlerButton with handlerType="NativeViewGestureHandler" having missing testIDs when they were previously provided and assigned. I believe the testID on the child being cloned within createHandler was being removed by the testID being set within the render function when one was not even passed in. Now it will only assign a testID as a prop on the cloned element if a testID was provided to the handler

@j-piasecki
Copy link
Member

Thank you ❤️ !

@j-piasecki j-piasecki merged commit 7ecb044 into software-mansion:main Mar 3, 2022
@virdesai virdesai deleted the fix/missing-testID branch March 3, 2022 10:39
@vishalnarkhede
Copy link

Thanks for fixing this @virdesai :)

@virdesai
Copy link
Contributor Author

Lol no problem @vishalnarkhede

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.

3 participants