-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Needs: Triage 🔍PartnerResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.p: MicrosoftPartner: MicrosoftPartner: Microsoft
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.
const mouseEventHandlers = |
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
Metadata
Metadata
Assignees
Labels
Needs: Triage 🔍PartnerResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.p: MicrosoftPartner: MicrosoftPartner: Microsoft