@ionic/react-router 9.0.7-dev.11791305593.188c8151 → 9.0.7-dev.11791478996.1b854592
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2578,7 +2578,7 @@ class StackManager extends React.PureComponent {
|
|
|
2578
2578
|
return canStartSwipe;
|
|
2579
2579
|
};
|
|
2580
2580
|
const onStart = async () => {
|
|
2581
|
-
// Core
|
|
2581
|
+
// Core skips onEnd when an animated swipe ends without a progress animation, so a
|
|
2582
2582
|
// previous gesture can leave its mark behind. Drop any stale one before marking.
|
|
2583
2583
|
this.clearSwipeRevealedView();
|
|
2584
2584
|
const { routeInfo } = this.props;
|
|
@@ -2607,9 +2607,9 @@ class StackManager extends React.PureComponent {
|
|
|
2607
2607
|
revealIonPageForSwipeBack(enteringViewItem?.ionPageElement);
|
|
2608
2608
|
// When the gesture starts, kick off a transition controlled via swipe gesture
|
|
2609
2609
|
if (enteringViewItem && leavingViewItem) {
|
|
2610
|
-
// Without a leaving view there is no progress animation, and core
|
|
2611
|
-
// swipeHandler.onEnd
|
|
2612
|
-
// next transition.
|
|
2610
|
+
// Without a leaving view there is no progress animation, and core skips
|
|
2611
|
+
// swipeHandler.onEnd for an animated swipe without one, so nothing would clear the
|
|
2612
|
+
// mark until the next transition.
|
|
2613
2613
|
markSwipeRevealed(enteringViewItem);
|
|
2614
2614
|
this.swipeRevealedViewItem = enteringViewItem;
|
|
2615
2615
|
await this.transitionPage(routeInfo, enteringViewItem, leavingViewItem, 'back', true);
|