react-native-macos/Libraries/Components/Pressable
Joshua Gross d61a8b7bb8 Pressable Views should not be flattened
Summary:
In Fabric if you use a Pressable or PressableBackground and only provide an `onPress` but don't provide background color or anything else, the View might be flattened away and with it the event handlers.

We assume that if the product engineer is using a Pressable, they want it to do something in the View hierarchy, so force it to never be flattened.

Changelog: [Internal]

Reviewed By: shergin

Differential Revision: D22557026

fbshipit-source-id: 171c5b51e8d828fbb2816685d188286179a10af9
2020-07-15 18:50:54 -07:00
..
__tests__ Pressable Views should not be flattened 2020-07-15 18:50:54 -07:00
Pressable.js Pressable Views should not be flattened 2020-07-15 18:50:54 -07:00
useAndroidRippleForView.js Make ColorValue public in StyleSheet.js 2020-04-17 13:03:47 -07:00