From 3d8e2fe41ea55eb46ac5ca1167726e9c6ccd4c8e Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Thu, 7 Apr 2016 10:14:17 -0700 Subject: [PATCH] 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 --- Libraries/Components/ScrollResponder.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/Components/ScrollResponder.js b/Libraries/Components/ScrollResponder.js index f2372fdccb0..bb249f9226a 100644 --- a/Libraries/Components/ScrollResponder.js +++ b/Libraries/Components/ScrollResponder.js @@ -202,7 +202,6 @@ var ScrollResponderMixin = { * a touch has already started. */ scrollResponderHandleResponderReject: function() { - warning(false, "ScrollView doesn't take rejection well - scrolls anyway"); }, /**