Skip to content

Commit

Permalink
fix(RkSwitch): Fix incorrect thumb animation in case if gesture was i…
Browse files Browse the repository at this point in the history
…ntercepted by parent view
  • Loading branch information
sergey-kozel authored and malashkevich committed Oct 18, 2018
1 parent 053c303 commit 1492f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/switch/rkSwitch.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class RkSwitch extends RkComponent {

// eslint-disable-next-line arrow-body-style
onPanResponderTerminationRequest = () => {
return true;
return false;
};

onPanResponderGrant = () => {
Expand Down

0 comments on commit 1492f41

Please sign in to comment.