mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 06:04:15 +00:00
Remove confusing warning from ScrollResponder
Summary:I get this warning in cases when nothing went wrong. Not sure what I can do about the warning. I placed a few sliders in a ScrollView and everything works as expected, so the warning is very confusing. Lots of people have been hitting the warning and getting confused by it as well: - https://github.com/facebook/react-native/issues/1501 - https://productpains.com/post/react-native/scrollview-warning-scrollview-doesnt-take-rejection-well-scrolls-anyway (it's one of the [highest rated](https://productpains.com/product/react-native?tab=top) issues). Reviewed By: sahrens Differential Revision: D3138736 fb-gh-sync-id: 601b8dfc275a14dff6f17a7903c65bd8347a73e9 fbshipit-source-id: 601b8dfc275a14dff6f17a7903c65bd8347a73e9
This commit is contained in:
parent
817ec2d756
commit
5f77f15bac
@ -202,7 +202,6 @@ var ScrollResponderMixin = {
|
||||
* a touch has already started.
|
||||
*/
|
||||
scrollResponderHandleResponderReject: function() {
|
||||
warning(false, "ScrollView doesn't take rejection well - scrolls anyway");
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user