Skip to content

bug: nav, swipe back transition gets stuck with swiping quickly #27893

@Ensaphelon

Description

@Ensaphelon

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

Currently, when using ion-nav and having at least two transitions between two screens, there is a chance that it will not be possible to go back from the nested page. this behaviour is totally random

Expected Behavior

All transitions between pages should work correctly, regardless of the nesting of pages and the frequency of transitions between them.

Steps to Reproduce

  1. Set up a basic example using iov-nav, ion-link, ion-content with a root page and the nested one
  2. Navigate to the nested page
  3. Swipe back
  4. Repeat 2 and 3 steps until the bug appears

Code Reproduction URL

https://replit.com/@RamilMusaiev/React-TypeScript-1#src/App.tsx

Ionic Info

Since I was integrating ionic on top of the existing project the output is corresponding

ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.

Ionic:

   Ionic CLI : 7.1.1

Utility:

   cordova-res : not installed globally
   native-run  : not installed globally

System:

   NodeJS : v18.16.0
   npm    : 9.5.1
   OS     : macOS Unknown

Additional Information

Here is the video:

2023-07-30.19.02.09.mov

As you can see, at some point the subpage has the CSS property pointer-events: none; even though I was right on the subpage. When I tried to override this property in the browser, the page became responsive again, but the swipe back gesture didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions