stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

Migrate TouchableOpacity and other related touchable components to Pressable

Open khushal87 opened this issue 2 years ago • 0 comments

We use TouchableOpacity in most places. Ideally, this is not a good user experience for Android users. Therefore, we should plan to migrate the current Touchables into Pressable API which was released by React Native. The second option could be conditionally handling the case for Android and iOS. Something like:

const Touchable = Platform.OS === "android" ? TouchableNativeFeedback : TouchableOpacity

gz#21875

khushal87 avatar Apr 15 '22 07:04 khushal87