ionic icon indicating copy to clipboard operation
ionic copied to clipboard

NuxtConfig -> Ionic -> Config -> navAnimation doesn't work

Open folamy opened this issue 2 years ago â€ĸ 3 comments

🐛 The bug

@danielroe, @aaronksaunders. According to the docs, I should be able to override all ionic navigation animations. But when I do that, nothing happens and I still see the default animations. How do I fix this? nuxt

đŸ› ī¸ To reproduce

nil

🌈 Expected behaviour

Control the router/navigation Animation from the global config.

â„šī¸ Additional context

No response

folamy avatar Mar 14 '23 19:03 folamy

it would be really helpful if you used the stackblitz project and cloned it to create a sample project for someone to look at instead of a screenshot of the code

A reproduction of the bug via https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground

aaronksaunders avatar Mar 14 '23 20:03 aaronksaunders

Thanks @aaronksaunders I have made a repo already. https://stackblitz.com/edit/github-f4m4zq?file=nuxt.config.ts

folamy avatar Mar 14 '23 22:03 folamy

For a workaround you can define your animation directly on the component in your app.vue. Have a look at this thread: https://forum.ionicframework.com/t/ion-router-outlet-dynamic-animation-vue/208924

Adashi12 avatar Jul 21 '23 08:07 Adashi12