Fix events issue when swiping back (#3420)

This commit is contained in:
Eric Vicenti
2018-02-03 12:20:55 -08:00
committed by Brent Vatne
parent 282e5abac2
commit 98cfd7a531
2 changed files with 5 additions and 1 deletions

View File

@@ -183,7 +183,10 @@ class CardStack extends React.Component {
const backFromScene = scenes.find(s => s.index === toValue + 1);
if (!this._isResponding && backFromScene) {
navigation.dispatch(
NavigationActions.back({ key: backFromScene.route.key })
NavigationActions.back({
key: backFromScene.route.key,
immediate: true,
})
);
}
});