mark 'force' as optional property of PressEvent object#29006
Conversation
Base commit: 92160f3 |
Base commit: 92160f3 |
|
Thanks for working on this. Can you verify at runtime that this key doesn't exist on Android? The code you linked to isn't really definitive. For example, I could imagine Android is currently providing the I'd recommend getting the event and console logging the keys on iOS showing that it includes |
|
@TheSavior As I were writing earlier this key is not even present on iOS, on the devices without hardware 3D Touch support, so I don't think that screenshots from Android are necessary. This information was validated earlier, in more extensive tests during the work on the "PressEvent" and help on the "Pressable" React Native website pages. I have also bring it up to your attention earlier: iPhone SE 2nd (no
|
|
Thanks for those screenshots, that's great and makes it really clear what is happening. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@TheSavior has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@TheSavior merged this pull request in ad2f98d. |



Summary
Refs:
According to the current implementation
forcewill be returned only oniOSplatform, only on the devices which have a hardware 3D touch capabilities.Changelog
[General] [Fixed] - mark
forceas an optional property of the PressEvent objectTest Plan
Go CI!