Closed
Description
Several desktop forks (react-native-macos
, react-native-windows
, react-native-web
) support mouse events, and while the stock Pressable component has the ability to support mouse events, it seems we aren't forwarding some props properly from Pressable -> Pressability.
Pressability will calculate onMouseEnter / onMouseLeave event handlers based on the onHoverIn/onHoverOut
callbacks passed into PressabilityConfig.
However, Pressable does not pass take in onHoverIn/onHoverOut props to pass to PressabilityConfig, so we can't take advantage of this functionality.
I made PR #32405 to address the issue. I created this bug meanwhile to track this issue