Skip to content

bug: ios safari swipe back transition Execution is messed up #25819

Closed as not planned
@d1y

Description

@d1y

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

The @ionic/vue I used, iOS Safari returns to the previous page, and the animation will be executed again

Expected Behavior

Return to the previous page. The animation will only be triggered once 😂

Steps to Reproduce

Screen.Recording.2022-08-25.at.13.35.49.mov

Code Reproduction URL

No response

Ionic Info

Our project is running on the web, no cross platform code is used

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

Ionic:

   Ionic CLI : 6.20.1

Utility:

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

System:

   NodeJS : v16.16.0
   npm    : 8.11.0
   OS     : macOS Monterey

Additional Information

the main.ts file

app.use(IonicVue, {
  mode: "md",
})

app.use(router)
router.isReady().then(() => {
  app.mount("#app")
})

the router.ts file

const router = createRouter({
  history: createWebHashHistory('/'),
  routes: [] // !!ignore the line
})

export default router

I don't know what happened, but I know that this seems to be Safari's default behavior (sliding left and right) 🧐

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions