41f2169629
Summary: I was comparing `<TouchableOpacity>` to `UIButton` in iOS and it just doesn't feel native. The initial delay was fixed by https://github.com/facebook/react-native/pull/10866 but still there is a lag between button release and animation. I'm also not sure what `_hideTimeout` was used for. When logging `touchableHandle*` events looks like `touchableHandleActivePressIn` is called first, then `touchableHandleActivePressOut` and then `touchableHandlePress`. Which means the fade in animation from `touchableHandleActivePressOut` was interrupted by `touchableHandlePress`. Reviewed By: vjeux Differential Revision: D4309789 fbshipit-source-id: b6d4df544952e11c2ade97d860531cbb2fada36b |
||
---|---|---|
.. | ||
__mocks__ | ||
__tests__ | ||
BoundingDimensions.js | ||
Position.js | ||
Touchable.js | ||
TouchableBounce.js | ||
TouchableHighlight.js | ||
TouchableNativeFeedback.android.js | ||
TouchableNativeFeedback.ios.js | ||
TouchableOpacity.js | ||
TouchableWithoutFeedback.js | ||
ensureComponentIsNative.js | ||
ensurePositiveDelayProps.js |