@ionic/react-router 9.0.9-nightly.20261015 → 9.0.9-nightly.20261019
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
|
@@ -2644,7 +2644,7 @@ class StackManager extends React.PureComponent {
|
|
|
2644
2644
|
return canStartSwipe;
|
|
2645
2645
|
};
|
|
2646
2646
|
const onStart = async () => {
|
|
2647
|
-
// Core
|
|
2647
|
+
// Core skips onEnd when an animated swipe ends without a progress animation, so a
|
|
2648
2648
|
// previous gesture can leave its mark behind. Drop any stale one before marking.
|
|
2649
2649
|
this.clearSwipeRevealedView();
|
|
2650
2650
|
const { routeInfo } = this.props;
|
|
@@ -2673,9 +2673,9 @@ class StackManager extends React.PureComponent {
|
|
|
2673
2673
|
revealIonPageForSwipeBack(enteringViewItem?.ionPageElement);
|
|
2674
2674
|
// When the gesture starts, kick off a transition controlled via swipe gesture
|
|
2675
2675
|
if (enteringViewItem && leavingViewItem) {
|
|
2676
|
-
// Without a leaving view there is no progress animation, and core
|
|
2677
|
-
// swipeHandler.onEnd
|
|
2678
|
-
// next transition.
|
|
2676
|
+
// Without a leaving view there is no progress animation, and core skips
|
|
2677
|
+
// swipeHandler.onEnd for an animated swipe without one, so nothing would clear the
|
|
2678
|
+
// mark until the next transition.
|
|
2679
2679
|
markSwipeRevealed(enteringViewItem);
|
|
2680
2680
|
this.swipeRevealedViewItem = enteringViewItem;
|
|
2681
2681
|
await this.transitionPage(routeInfo, enteringViewItem, leavingViewItem, 'back', true);
|