ad2f98df8f
Summary: Refs: * https://github.com/facebook/react-native/blob/master/React/Fabric/RCTSurfaceTouchHandler.mm#L93 * https://github.com/facebook/react-native/blob/master/RNTester/js/examples/Pressable/PressableExample.js#L25 According to the current implementation `force` will be returned only on `iOS` platform, only on the devices which have a hardware 3D touch capabilities. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [General] [Fixed] - mark `force` as an optional property of the PressEvent object Pull Request resolved: https://github.com/facebook/react-native/pull/29006 Test Plan: Go CI! Reviewed By: cpojer Differential Revision: D21797241 Pulled By: TheSavior fbshipit-source-id: e66be6958a2251bc8585e87e6bad54484a067949 |
||
---|---|---|
.. | ||
assets | ||
components | ||
examples | ||
types | ||
utils | ||
RNTesterApp.android.js | ||
RNTesterApp.ios.js |