Call onGestureBegin when the stack gesture becomes active
This commit is contained in:
parent
648578abc1
commit
49ff151072
|
@ -446,6 +446,8 @@ class StackViewLayout extends React.Component {
|
|||
this._handleReleaseHorizontal(nativeEvent);
|
||||
}
|
||||
} else if (nativeEvent.state === State.ACTIVE) {
|
||||
this.props.onGestureBegin && this.props.onGestureBegin();
|
||||
|
||||
// Switch to using gesture position
|
||||
this.positionSwitch.setValue(0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue