react-native-macos/Libraries/Components
Nishan Bende d85d72d0d9 fix: TouchableNativeFeedback ripple starts on previous touch location (#31777)
Summary:
TouchableNativeFeedback's ripple starts from previous location on subsequent presses. This is similar to https://github.com/facebook/react-native/pull/31669

Fixes https://github.com/facebook/react-native/issues/28944

Issue

https://user-images.githubusercontent.com/23293248/123521731-1f375f00-d6d6-11eb-8e4c-fc5ffb322e67.mov

Fix

https://user-images.githubusercontent.com/23293248/123521735-2bbbb780-d6d6-11eb-88b2-be75342cf22a.mov

## 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
-->

[Android] [Fixed] - TouchableNativeFeedback ripple starts on previous touch location.

Pull Request resolved: https://github.com/facebook/react-native/pull/31777

Test Plan: Tested TouchableNativeFeedback examples in rn-tester app. Registering coordinates before pressed command fixes the issue.

Reviewed By: lunaleaps

Differential Revision: D29496515

Pulled By: kacieb

fbshipit-source-id: 77ac626181a61eee2cd30c4d48e52d10d800f2d8
2021-07-06 17:50:35 -07:00
..
AccessibilityInfo RN: Reapply `AccessibilityInfo` Changes 2021-04-08 17:37:08 -07:00
ActivityIndicator Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
Clipboard Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
DatePicker Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
DatePickerAndroid Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
DrawerAndroid Update FlowFixMes to use error codes in react-native-github 2021-03-31 18:21:47 -07:00
Keyboard Convert KeyboardAvoidingView to use export default 2021-06-04 12:56:17 -07:00
MaskedView Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
Pressable Pressable ripple should pick press event coordinates on subsequent press. (#31669) 2021-06-08 15:28:22 -07:00
ProgressBarAndroid Update FlowFixMes to use error codes in react-native-github 2021-03-31 18:21:47 -07:00
ProgressViewIOS Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
RefreshControl Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
SafeAreaView Convert SafeAreaView to ES Module (#31344) 2021-04-14 11:48:42 -07:00
ScrollView Fix inline requires for ESM in react-native-github 2021-06-04 13:05:11 -07:00
SegmentedControlIOS Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
Slider Fix/30842 - Add accessibilityState prop in slider (#31145) 2021-05-21 13:35:56 -07:00
Sound Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
StatusBar Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
Switch Switch: useMergeRef for forwarding ref 2021-06-09 10:12:53 -07:00
TextInput Log soft exception instead of crashing if ref is null on TextInput onPress 2021-06-25 19:49:04 -07:00
ToastAndroid Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
Touchable fix: TouchableNativeFeedback ripple starts on previous touch location (#31777) 2021-07-06 17:50:35 -07:00
UnimplementedViews Convert require to import in Libraries/Components 2021-04-26 12:50:59 -07:00
View RN: Statically Define `ReactNativeStyleAttributes` 2021-06-11 23:52:09 -07:00
__tests__ Fix/30842 - Add accessibilityState prop in slider (#31145) 2021-05-21 13:35:56 -07:00
Button.js Adds accessiblity actions on core components (#31532) 2021-05-26 16:49:11 -07:00
StaticContainer.react.js Cleanup StaticContainer a bit 2020-02-04 13:54:27 -08:00
StaticRenderer.js Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00