ionic icon indicating copy to clipboard operation
ionic copied to clipboard

fix: Empty `route.params` object on navigation

Open quezadaesteban opened this issue 2 years ago • 5 comments

🐛 The bug

When navigating to a new page, the route.params object from useRoute is empty.

🛠️ To reproduce

https://stackblitz.com/edit/github-hz29vt?file=pages/tabs/tab1.vue

🌈 Expected behaviour

It should be an object with the current route parameters, query, etc.

ℹ️ Additional context

  • It works properly on 0.6.1.
  • After navigating, reloading the page makes the route.params object show the correct content.

quezadaesteban avatar Oct 26 '22 01:10 quezadaesteban