Skip to content

Commit

Permalink
Revert "Temporary fix for Android concerning _handleStartShouldSetPan…
Browse files Browse the repository at this point in the history
…Responder"

This reverts commit 3844682.

React Native has been fixed and we don't need this workaround anymore jeanregisser#5
  • Loading branch information
jeanregisser committed Apr 26, 2016
1 parent f1a0302 commit 8e98fb0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ var {
PropTypes,
StyleSheet,
PanResponder,
View,
Platform
View
} = React;
var PureRenderMixin = React.addons.PureRenderMixin;
var styleEqual = require('style-equal');
Expand Down Expand Up @@ -256,10 +255,6 @@ var Slider = React.createClass({
},

_handleStartShouldSetPanResponder: function(e: Object, /*gestureState: Object*/): boolean {
// Until the PR https://github.com/facebook/react-native/pull/3426 is merged, we need to always return "true" for android
if (Platform.OS === 'android') {
return true;
}
// Should we become active when the user presses down on the thumb?
return this._thumbHitTest(e);
},
Expand Down

0 comments on commit 8e98fb0

Please sign in to comment.