toastify-react-native icon indicating copy to clipboard operation
toastify-react-native copied to clipboard

[BUG]: onPress does nothing

Open jofflin opened this issue 4 months ago • 1 comments

https://github.com/zahidalidev/toastify-react-native/blob/interactive-toast/components/BaseToast.tsx

There is a onPress prop that does nothing. Therefore it is not possible to use the onPress logic.

jofflin avatar Sep 03 '25 21:09 jofflin

Fix: Replace line 87 and 265 with: onPress = () => {}, <TouchableWithoutFeedback onPress={onPress} style={styles.content} testID={${testID}-content}>

jofflin avatar Sep 03 '25 22:09 jofflin