callstack / callstack/react-native-paper
Tooltip: onPress event object is not propagated to parent component on native
Open
bug
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### Current behaviour
onPress (and probably other pressable-related) event object is not propagated to parent component on native (Android/iOS).
This line is suspicious:
https://github.com/callstack/react-native-paper/blob/main/src/components/Tooltip/Tooltip.tsx#L156C18-L156C25
### Expected behaviour
Event object should be passed to parent callbacks.
### How to reproduce?
https://snack.expo.dev/@szado/rnp-tooltip-onpress-bug
### Your Environment
| software | version
| --------------------- | -------
| react-native-paper | 5.15.3
| expo sdk | 55
Contributor guide
Assessment
This issue has not been assessed yet.