Files
react-native/Libraries
Tim Yung 0c392bc405 Pressability: Consistently Fire onPress{In,Out} w/o onPress
Summary:
Currently any component using `Pressability` is quickly tapped and released (i.e. responder grant followed only by reponder release), we fire `onPressIn` and `onPressOut` immediately to ensure that any visual feedback for the interactive element is momentarily visible.

Currently, we were mistakenly skipping this logic if `onPress` was null.

This fixes it so that we fire `onPressIn` and `onPressOut` consistently, even if `onPress` is null.

Changelog:
[General][Fixed] - Pressability now consistently fires `onPressIn` and `onPressOut`, even without an `onPress`.

Reviewed By: lunaleaps

Differential Revision: D23613254

fbshipit-source-id: e316707cbb2a4814262dea4eb1ddf6e3780268d1
2020-09-10 17:04:26 -07:00
..
2020-08-27 15:08:48 -07:00
2020-05-15 21:55:52 -07:00
2020-08-28 12:16:26 -07:00
2020-05-15 21:55:52 -07:00
2020-02-21 10:34:40 -08:00