Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TouchablePreview regression (#6424)
This PR includes: - Ensuring the `onPress` or `onPressIn` props are not being overriden in `Navigation.TouchablePreview` as the internal `onPress` and `onPressIn` are handling the touch. - Revert the `Button` component in the Playground app to class component to provide access to `ref`. Related to #6420 This PR does fix triggering the `Preview` API in the Playground app however the Preview is still not appearing.
- Loading branch information
1 parent
e3ec090
commit 2b42902
Showing
2 changed files
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters