-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TouchableOpacity: Respond instantly to first touch
Summary: On iOS, when you press down native fading components, they become transparent instantly, but then have an animated fade in/out if you move your finger in/out of their hit box. On react-native currently, the touchdown fades, instead of providing instant feedback, which doesn't feel right on iOS. I'm less familiar with Android conventions, but it seems to use fading components for buttons less often, instead using the ripple effect from TouchableNativeFeedback. In either case, instant feedback seems better for the user. Closes #10866 Differential Revision: D4175854 Pulled By: hramos fbshipit-source-id: d993231074e8190cf4ba7ca86dc24299f05d5d8f
- Loading branch information
1 parent
be5e300
commit fa8c536
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters